0% found this document useful (0 votes)
6 views1 page

2Q Programming

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views1 page

2Q Programming

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

b CITY OF MALOLOS SENIOR HIGH SCHOOL

Barangay Guinhawa, City of Malolos, Bulacan

Final Examination
Programming 11
13. Which of the following are not the variable types in C#?
a. Value types c. Pointer types
Direction: Read and analyze each item carefully. Choose the letter of the b. Reference types d. Main types
best answer. Shade the letter that corresponds to your answer. 14. Which of the following types directly contain data?
1. Which of the following is a modern , general purpose, object-oriented a. Value types c. Pointer types
programming languagedeveloped by Microsoft and approved by b. Reference types d. Main types
ECMA and ISO. 15. Which of the following does not contain the actual data stored in a
a. C c. C++ variable but they contain a reference to the variables.
b. C# d. javascript a. Value types c. Pointer types
2. It is consists of the executable code and runtime environment that b. Reference types d. Main types
allows use of various high level languages on different computer 16. Which of these operators are the built-in operators of a C# program?
platforms and architectures. I. Arithmetic operator
a. Common Language Infrastructure II. Assignment operator
b. Common Language Programming III. Project operator
c. Boolean condition IV. Bitwise operator
d. Standard library V. Project operator
3. Which of the following are features in C#. a. II, III, IV and V c. I, III, IV and V
a. Automatic Garbage Collection b. I, II, III, and V d. I, II, III and IV
b. Conditional Compilation 17. Which of the following allows you to assign any string values to a
c. Assembly Versioning variable?
d. All of the above a. Object Type c. String Type
4. Give the correct order of the parts of the c# program? b. Dynamic Type d. Pointer Type
I. Class methods 18. Which of the following types of variable can store the memory
II. Class attributes address of another type?
III. Main methods a. Object Type c. String Type
IV. Namespace declaration b. Dynamic Type d. Pointer Type
V. Comment 19. It is also known as type casting.
VI. Statement and expression
a. IV, III, II, IV, VI, V c. II, III, IV, V, I, VI a. Type Conversion c. Explicit type conversion
b. V, VI, II, III, I, IV d. III, VI, II, IV, I, V b. Implicit type conversion d. Conversion method
5. Which of the following is a software framework developed by 20. These conversions are done explicitly by users using the pre-defined
Microsoft that runs primarily on Microsoft Windows. functions.
a. .Net framework c. Net Windows a. Type Conversion c. Explicit type conversion
b. .Net Microsoft d. Net Intel b. Implicit type conversion d. Conversion method
6. Which of the following is not a part of C# program? 21. These conversions are performed by C# in a type-safe manner.
a. Namespace declaration a. Type Conversion c. Explicit type conversion
b. Class methods b. Implicit type conversion d. Conversion method
c. Statement and Expression 22. Which of the following is nothing but a name given to a storage area
d. Class Statement that our programs can manipulate?
7. Which of the following parts of C# program is a collection of classes? a. Data types c. String
a. Class attributes c. Comments b. Operator d. Variables
b. Main methods d. Namespace 23. Which of the following is a symbol that tells the compiler to perform
8. Which of the following part of C# program is the entry point for all C# specific mathematical or logical manipulations?
programs? a. Data types c. String
a. Class attributes c. Comments b. Operator d. Variables
b. Main method d. Namespace 24. Which of the following is consisting of a Boolean expression followed
9. Which of the following is used for including the namespaces in the by one or more statements?
program? a. if statement c. else statement
a. using system c. using keyword b. switch statement d. else if
b. class system d . class keyword 25. Which of the following allows a variable to be tested for equality
10. Which of the following is used for declaring a class? against a list of values?
a. using system c. using keyword a. if statement c. else statement
b. class system d. class keyword b. switch statement d. else if
11. All statements and expression must end with what?
a. period (.) c. open/close parenthesis ()
b. comma (,) d. semicolon (;)
12. Which of the following are the reserved words predefined to the C#
compiler?
a. mainwords c. prefix
b. indentifiers d. keywords

You might also like