wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Developing Applications

Total questions: 25

Worksheet time: 19mins

Name
Class
Date
1.

Public variables are variables that are ​ ​​_____ to the whole program?

a)

Accessible

b)

Visible

c)

Hidden

d)

Private

2.

What does IDE stands for?

(a)  

3.

What are variables?

4 lines
4.

Dim is used to declare private variables?

a)

True

b)

False

5.

What does this means?

a)

We are declaring a private variable named "pub" which is an integer

b)

We are declaring a private variable named "pub" which is not a integer

c)

We are declaring a Public variable named "pub" which is an integer

d)

We are declaring a private variable named "pub" which is a string

6.

How many decision statements can we use to give computer the ability to think or make decisions?

a)

4

b)

3

c)

2

d)

5

7.

An (a)   is a type of logical statement that describes a cause-and-effect relationship between two conditions.

8.

An "if-then-else statement" is a type of logical statement that describes a cause-and-effect relationship between two conditions, but also includes an ________ if the initial condition is not met.

a)

Another condition

b)

Alternate Formula

c)

Outcome

d)

Alternative action or outcome

9.

An "if-then-else-if statement" is a type of logical statement that describes a ______.

a)

cause-and-effect relationship between two conditions

b)

cause-and-effect relationship between two conditions, but also includes an alternative action or outcome

c)

 series of conditions and actions that depend on each other

d)

phenomena of past conditions

10.

How many repetition loops have read in the chapter?

a)

1

b)

5

c)

3

d)

2

11.

What is the main difference between For loop and a While loop.

4 lines
12.

How many logical operator are there?

a)

10

b)

4

c)

5

d)

8

13.

How many conditional operators are there?

a)

5

b)

8

c)

6

d)

4

14.

What does this conditional operator stands for ">="?

(a)  

15.

What is the difference between "OR" and "XOR"?

4 lines
16.

Mouse events are?

a)

Software actions

b)

System actions

c)

Programmer actions

d)

User action like a key press, clicks, mouse movements

17.

How many mouse events related to a Control class?

a)

6

b)

8

c)

5

d)

9

18.

What is a Mouse Hover event?

(a)  

19.

Functions are?

a)

take a value but do not return a value

b)

take a value and return a value

c)

do not take a value but return a value

d)

all of the above

20.

Subroutines are?

a)

they are similar to functions they do not return a value

b)

they are similar to functions and they also return values

c)

they may or may not return values

d)

they are not similar to functions but they can return values

21.

Modules are?

a)

collections of related functions and subroutines.

b)

are like functions

c)

collections of related functions and subroutines. we can use them as libraries and can import them

d)

these are the libraries but we can not import them

22.

There is limit to the number of arguments that can be added while creating user defined variables.

a)

True

b)

False

23.

Good interfaces are?

4 lines
24.

The purpose of error handling is that ___?

a)

software operates correctly, identifying and addressing issues when they occur.

b)

it is for the programmer because they need to debug the code

c)

providing a positive user experience.

d)

providing a good debugging experience

25.

synchronous errors are?

a)

Errors that hinders the program execution until it is resolved

b)

Errors that deletes the whole program

c)

Errors that causes system crashes

d)

All of them