Programming II - Test Quiz
* Indicates required question
1. Email *
Programming II -
2. Student ID *
3. UPSA E-Mail *
Section A
Select the BEST option that answers each Question.
4. Storage location used by a computer memory to store data for usage by an 1 point
application is?
Mark only one oval.
Constants
Variables
Pointers
Algorithms
5. A Variable that is Declared within a sub procedure or a function is known * 1 point
as a
Mark only one oval.
Global Variable
Local Variable
Array Variable
Sequential Variable
6. Sequence of instructions for a computer to execute, is called as * 1 point
Mark only one oval.
Program
Command
Query
Transaction
7. Information that is stored in a variable is known as * 1 point
Mark only one oval.
String
Literal
Value
Operator
8. Which definition best describes an object? * 1 point
Mark only one oval.
Instance of a class
Instance of itself
Child of a class
Overview of a class
9. Which Symbol is used in Visual Basic to Access Properties and Methods of 1 point
an Object
Mark only one oval.
. (dot)
_ (Underscore)
^ (Exponent)
& (Ampersand)
10. What would be the best Data type to use for efficient Memory * 1 point
management if you intend to create a variable that would store ages of
UPSA student in the Diploma Class, knowing that no student is above 80
years.
Mark only one oval.
Integer
Short
Byte
Single
11. In Programming or Problem Solving, the act of knowing the capabilities * 1 point
of the device or a complier or programming language and what you want
the device to perform is known as
Mark only one oval.
Creating an Algorithm
Understanding the Problem
Writing or Executing Code
Evaluating the Solution
12. The Programming structure that Executes a line or a block of code several 1 point
times until a condition is meet is known as
Mark only one oval.
Sequential
Selection
Iteration
Array
13. What would be the Index of the Last Element of the Array Declared and 1 point
Initialized below.
Dim studAges() as Byte = {18, 23, 19, 21, 22, 17, 16, 20}
Mark only one oval.
20
14. What would be the Output of the Code Below 1 point
Dim studAges() as Byte = {18, 23, 19, 21, 22, 17, 16, 20}
MessageBox.Show(studAges(3))
Mark only one oval.
19
21
Error
15. Which definition best describes an object? * 1 point
Mark only one oval.
Instance of a class
Instance of itself
Child of a class
Overview of a class
16. A Variable that is Declared within a sub procedure or a function is known * 1 point
as a
Mark only one oval.
Global Variable
Local Variable
Array Variable
Sequential Variable
17. Sequence of instructions for a computer to execute, is called as * 1 point
Mark only one oval.
Program
Command
Query
Transaction
18. Information that is stored in a variable is known as * 1 point
Mark only one oval.
String
Literal
Value
Operator
19. Which definition best describes an object? * 1 point
Mark only one oval.
Instance of a class
Instance of itself
Child of a class
Overview of a class
20. Which Symbol is used in Visual Basic to Access Properties and Methods 1 point
of an Object
Mark only one oval.
. (dot)
_ (Underscore)
^ (Exponent)
& (Ampersand)
21. Storage location used by a computer memory to store data for usage by 1 point
an application is?
Mark only one oval.
Constants
Variables
Pointers
Algorithms
22. What would be the best Data type to use for efficient Memory * 1 point
management you intend to create a variable that would store ages of
UPSA student in the Diploma Class, knowing that no student is above 80
years.
Mark only one oval.
Integer
Short
Byte
Single
23. You can create two or more Functions or Methods in a VB Form with the * 1 point
Same Name but Different Parameter List. What Concept of OOP will you
be implementing?
Mark only one oval.
Inheritance
Classes
Objects
Polymorphism
Section B
Select exactly 2 correct answers
24. The Languages every compiler understands are 2 points
Check all that apply.
Intermediate Language
Source Language
Target Language
Meta Language
25. Which properties of a Variable do not change during the Execution of * 2 points
the Program.
Check all that apply.
Value
Name
Data Type
Expression
26. The Languages every compiler understands are 2 points
Check all that apply.
Intermediate Language
Source Language
Target Language
Meta Language
27. A class is made up of * 2 points
Check all that apply.
Properties
Memory
Methods
Pointers
28. Which properties of a Variable do not change during the Execution of * 2 points
the Program.
Check all that apply.
Value
Name
Data Type
Expression
Section C
Provide a one Word or short phrase Response for each of the Questions.
29. In programming, the Left side of an assignment operator (=) should * 2 points
always be a
30. Which Property of a Variable may change during the Execution of the * 2 points
Program
31. The features, capabilities and abilities available in the .Net Environment * 2 points
is generally Known as
32. The source of the Just-in-Time compiler is known as * 2 points
33. The unambiguous step-by-step specification or instructions of how to 2 points
solve a problem is known as
34. What is the Full Meaning of IDE * 1 point
35. What is the Minimum number of times the Loop Statement of a POST * 2 points
TEST loop can be Executed
36. What would be the Output of the code Below * 3 points
Dim test As Integer = 1
Dim check As Integer = 0
Do While test <= 5
check += test
test += 1
Loop
MsgBox(check)
37. How many stages of Compilation exist in the .Net framework * 2 points
compilation Process
38. What is the Source Language of a JIT compiler 2 points
39. In programming, the Left side of an assignment operator (=) should * 2 points
always be a
40. How many ElseIf can an If Statement have * 2 points
41. What is the memory size occupied by a variable declared as an Integer * 2 points
42. What is the Largest Value a Variable Declared as Byte hold 2 points
43. Evaluate 2 points
37 mod 10 - 11 mod 4 \ 2 + (7 \ (5 -11 mod 3)) + 13 mod 3 + 2
This content is neither created nor endorsed by Google.
Forms