Class 8t Complete Worksheets
Class 8t Complete Worksheets
NAME:
Developing Applications
Q1: Fill in the blanks.
1. While writing the code, variables are declared with its
4. Are user actions like key press, clicks and mouse movement etc.
1
The City School
1. A variable is a container of data in a computer memory where the computer stores the
different types of data.
2. Logical operators are similar to Boolean expressions that return a Boolean result.
2
The City School
The user interface (UI) is the point of human-computer interaction and communication
in a device.
Interface is also a Graphical Layout of an Application. This can include display screens,
keyboards, a mouse and the appearance of a desktop. It is also the way through which a
user interacts with an application or a website. Characteristics of an interface are: Simple,
Responsive, Attractive, Clear, Consistent.
ii) Why designing a Bad user interface is prohibited?
Not only does the bad UI design totally destroy the creativity behind the designers, but
also delivers misunderstanding info to users. All of those will altogether bring users a
sense of confusion, frustration and even anger.
iii) What does term IDE means? Briefly Describe.
3
The City School
vii) Why variables are important or what function does the variable have?
A variable is nothing but a name given to a storage area that our programs can manipulate.
Each variable in C#/Visual St has a specific type, which determines the size and layout of
the variable's memory.
viii) Give the Difference between Private and Public Variables?
A public member or a public variable is accessible from anywhere but within a program. A
private Variable is restricted to Specific/certain part of the program; you cannot access it
outside that pat of the program.
ix) What is the difference between Mobile App and Website?
A data type is an attribute/Format of data which tells the compiler or interpreter how the
programmer intends to use the data. In simple words it is the type of data (Numeric, String,
Character) in which programmer/user wants to store the data. Different Data types are Integer,
String, Datetime, object, Decimal, Char.
xi) What are conditional Statements and its function?
4
The City School
Ans: (Ref E-Book Page No: 95, 96 (Checkpoints))
xvii) Define an Error. Give brief description about Error Handling &
Synchronous Errors. Ans: (Ref E-Book Page No: 96)
Imp: Let’s Review Page and Checkpoints given in the Chapter all are important,
please Do not rely only on the Worksheet. Go through the book as well while
preparing for Assessments & Exams. Feel Free to ask Question about this if any
during Revision Classes.
5
The City School
Date: _______________________ Total Marks: 20
Q1: Answer the following questions:
i) Define Interface. Write any Four characteristic Of Good User Interface
Design?
________________________________________________________________
________________________________________________________________
________________________________________________________________
ii) What does term IDE means? Briefly Describe.
________________________________________________________________
_______________________________________________________________
________________________________________________________________
iii) What type of Application/program can be built using Visual Studio?
________________________________________________________________
________________________________________________________________
________________________________________________________________
iv) Give the Difference between Name & text Property Of windows Form.
________________________________________________________________
________________________________________________________________
________________________________________________________________
________________________________________________________________
v) What do you know about Controls available in Visual Studio (Visual Basic)?
Name Any Five Controls that you are using in your Program.
________________________________________________________________
________________________________________________________________
6
The City School
________________________________________________________________
________________________________________________________________
_______________________________________________________________
________________________________________________________________
vii) Differentiate between Public and Public Variables used in Program?
_______________________________________________________________
________________________________________________________________
________________________________________________________________
________________________________________________________________
____________________________________________________________
viii) What is the difference between Mobile App and Website?
________________________________________________________________
________________________________________________________________
________________________________________________________________
________________________________________________________________
ix) What are different Data types available in Visual Studio? Write Name of
any 4 Datatypes.
________________________________________________________________
________________________________________________________________
________________________________________________________________
x) What do you know about conditional Statement? Why it is necessary in
Program?
_______________________________________________________________
_______________________________________________________________
_______________________________________________________________
7
The City School
b. Programing Language
c. Event
b. Object Code
c. Translator
d. Compiler
(4 Marks)
2. Write a note on the following
i. Compiler:
ii. Interpreter:
Developing Applications
Q1: Answer the following questions:
8
The City School
i) What is a User Interface Design? Write Names of any four characteristics of
it?
________________________________________________________________
________________________________________________________________
________________________________________________________________
ii) Why designing a Bad user interface is prohibited?
________________________________________________________________
________________________________________________________________
________________________________________________________________
iii) What does term IDE means? Briefly Describe.
________________________________________________________________
________________________________________________________________
________________________________________________________________
iv) What type of Application/program can be built using Visual Studio?
________________________________________________________________
________________________________________________________________
v) What properties Window Allow a user to do? Tell Difference between
Name & text property of a control(Button, Label..).
________________________________________________________________
________________________________________________________________
9
The City School
vi) What do you know about Controls available in Visual Studio (Visual
Basic)? Name Any Five Controls that you are using in your Program.
________________________________________________________________
________________________________________________________________
________________________________________________________________
________________________________________________________________
vii) Why variables are important or what function does the variable have?
________________________________________________________________
________________________________________________________________
________________________________________________________________
________________________________________________________________
viii) Give the Difference between Private and Public Variables? Also write the
Code to Declare Simple, Public, Private Variable.
________________________________________________________________
________________________________________________________________
________________________________________________________________
________________________________________________________________
________________________________________________________________
________________________________________________________________
________________________________________________________________
________________________________________________________________
ix) What is the difference between Mobile App and Website ?
________________________________________________________________
________________________________________________________________
________________________________________________________________
10
The City School
x) What are different Data types available in Visual Studio? Write Name of
any 4 Datatypes.
________________________________________________________________
________________________________________________________________
________________________________________________________________
xi) Which statement are called conditional Statements? Write its usage.
________________________________________________________________
________________________________________________________________
________________________________________________________________
________________________________________________________________
________________________________________________________________
xii) What do you understand by If, if/Elseif, If/else Decision-Making
Statement? Write Separate concept for each of it.
________________________________________________________________
________________________________________________________________
________________________________________________________________
________________________________________________________________
________________________________________________________________
xiii) Why conditional Operators are used in a program. Write their Name and
purpose of each Operator.
________________________________________________________________
________________________________________________________________
________________________________________________________________
________________________________________________________________
________________________________________________________________
xiv) Define Logical Operators. Write their Name and usage.
11
The City School
True/False
12
The City School
10. A variable is nothing but a name given to a storage area that our program can
manipulate. True/False
11. Python uses indentation to indicate a block of code.
True/False
12. Python is a programming language is popular because of its easy syntax.
True/False
13. Variable name must start with a letter or the underscore. True/False
14. Python allows us to assign values to multiple variable in one line . True/False
15. Python has no command for declaring variable. True/False
16. Comments are used for the purpose of in-code documentation. True/False
17. The else keyword catches anything which isn’t caught by the preceding condition.
True/False
18. Function avoids repetition and makes code reusable.
True/False
19. If program is embedded inside a hardware device it is called firmware.
True/False
13
The City School
Ans: Raspbian OS is being used in raspberry pi. Raspbian is a Debian (32-bit) operating
system for raspberry pi SBC. Raspbian OS is a highly optimized lightweight desktop
environment.
14
The City School
Q-3: Write briefly about Raspberry Pi.
Q-4: What is SONAR and Servo Motor. Also write their uses.
Q-6 Write the binary and conditional operators.
Q-7 Write some application where we can use SBCs. (general research)
Q.1 Circle the correct answer for each question.
[10]
i) A computer program is a collection of _____________that performs a specific task
when executed by a computer.
a) Languages b) Instructions c) Statements
ii) IDE is used to develop computer programs, as well as _____________.
a) Websites b) Mobile Apps c) Both A & B
iii) The ____________ panel allows you to define various properties of the currently
selected element on the design view.
a) Properties b) Text Property c) Name property
iv) The ____________ which defines the title of the selected element in our program
design window.
a) Properties b) Text Property c) Name property
v) The Form we have created is initially empty and to make it purposeful we add
elements also called ____________.
a) Objects b) Controls c) Both A & B
vi) __________ shortcut key is used to execute the program in debugging mode.
a) F3 b) F4 c) F5
vii) Every Program needs to do calculations and show results. This is only possible with
the use of ____________.
viii) ___________is a key word used to declare a new variable in Visual Basic Program.
a) Lib b) Def c) Dim
ix) The variable that cab be accessible by all controls with in the form called
___________.
a) Private variable b) Public Variable c) String Variable
x) ______________ buttons are similar to Radio Buttons, where user can select more
than one item in a group of options.
15
The City School
a) Check Box b) Text Box c) Combo Box
16
The City School
Q.2 Read the following statements and categorize them as True or False.
[10]
vii The value range of Byte data Type in Visual Basic / Visual
Studio is between 0 through 255.
viii The symbols like = > < used between two variables or
values are called conditional or relational operators.
17
The City School
Q.3 Write the name of the following Visual basic Elements / Controls.
[06]
GUI
Name Definition
Controls
18
The City School
2. On Properties Panel
19
The City School
🡪 Select Form 1 🡪 Name Property : Change to “frmMain”
🡪 Text Property : Change to “FirstVBForm”
3. In the View Menu select TOOL BOX
4. Add : Label Control , Button Control (Place both the controls in the Center)
5. On Properties Panel
🡪 Select Button_1 🡪 Name Property: Change to “btnReaction”
🡪 Select Label_1 🡪 Name Property: Change to “lblReaction”
🡪 Select btnReaction 🡪 Text Property: Change to “Say Hello”
6. Double Click on the Button control (btnReaction)
Write the following code
lblReaction.Text = “Hello World, my first app”
7. Run the App, press F5 or click on the play button.
TASK-2 : RESET COUNTER APP
20
The City School
6. Double Click on the Button control (btnReset)
Write the following code in the ;
● Public Class frmMain or Form1
Public pub As Integer
● Private Sub btnReset_Click
pub = 0
lblResult.Text = pub
● Private Sub btnAdd_Click
pub = pub + 1
blResult.Text = pub
21