You are on page 1of 5

Republic of the Philippines

DEPARTMENT OF EDUCATION
Region IV-A CALABARZON
SCHOOLS DIVISION OF BIÑAN CITY

BIÑAN CITY SENIOR HIGH SCHOOL-SAN ANTONIO CAMPUS


San Antonio, Biñan City, Laguna/School ID: 342242

FINAL EXAMINATION
COMPUTER PROGRAMMING (.NET TECHNOLOGY)
Instructions: Read the following statements carefully and write the answer that corresponds to your
response. Write the letter before each number. STRICTLY NO ERASURES.
1. What is the correct JavaScript syntax to change the content of the HTML element below?
<p id="demo">This is a demonstration.</p>
A.document.getElementByName("p").innerHTML = "Hello World!";
B.#demo.innerHTML = "Hello World!";
C.document.getElement("p").innerHTML = "Hello World!";
D. document.getElementById("demo").innerHTML = "Hello World!";
2. How do you write "Hello World" in an alert box?
A.alertBox("Hello World"); B.msgBox("Hello World");C.msg("Hello World");
D. alert("Hello World");
3. What do you call .NET HTTP framework used for building RESTful services.
A. MVC B. WEB API C. HTML D. SQL
4.Which of the following model is a _______ .
A. Shape of data. B. Collection of data C. Html content D. Type of data.
5. Rephrase the meaning of OOP stands for _______________?
A. Object Oriented Protocol B. Object Over ProgramC. Outer Object Program
D. Object Oriented Programming
6. Distinguish the symbol used to create a single line comment in C#?
A. \\ B. /* C. // D. ||
7.How would you get the value of x? x = 150 % 3
A. 50 B. 1 C. 2 D. 0
8. Choose the shortcut key to create new project in Visual Studio 2013?
A. Ctrl + Shift + O B. Ctrl + Shift + N C. Ctrl + Shift + P D. Ctrl + Shift + C
9. Which statements supports the OR operator displays a record if ANY conditions listed are true.
A. True B. False C. Both A and B D. None of the above
10.Who is making the Web standards?
A. Google B. Mozilla C. W3C D. Microsoft
11.Which property is used to change the left margin of an element?
A. padding-left B. indent C. margin-left D. align-left
12. Which one is a JavaScript keyword used to define/create a variable.
A. variable B. declare C. keyword D. var
13. Analyze which represents the application core.
A. model B. view C. controller D. none of the above
14. What operator is used to concatenate text and value of a variable?
A. + B. # C. & D. @
15. Distinguish who provides full control over HTML, CSS and JavaScript.
A. MVC B. VMC C. CMV D. MCV
16. Correlate REST stands for?
A. REpresentational State Transfer C. REpresentative Sequence Transfer
B. REpresentational Statement Transfer D. REpresentation System Transfer
17. Recognize an ASP.Net MVC Application, browsers requests are mapped to?
A.Pages B. Controller C. Model D. View
18. Select the communication channels NOT use in a web service?
A. HTTP/POST B. HTTP/GET C. HTTP/PICK D. HTTP/PUT
19. Define what does HTML stand for?
A. Hyper Text Markup LanguageB. Home Tool Markup Language
C. Hyperlinks and Text Markup Language D. Hyper Text Machine Language
20. Which HTML attribute is used to define inline styles?
A. styles B. class C. font D. style

Page 1 of 3
21. Which character is used to indicate an end tag?
A. < B. / C. > D. !
22. Which is the latest update of the Visual Studio that can build dynamic, data-driven websites.
A. MVC 5 B. MVC 6 C. MVC 4 D. MVC 10
23. Choose the correct HTML element to define important text
A. <important> B. <strong> C. <i>` D. <b>
24. How do you insert a comment in a CSS file?
A. // comment // B. /*comment*/ C. //comment D. ‘comment
25. Which is the correct CSS syntax?
A. body:color=black; C. {body:color=black;}
B. body {color: black;} D. {body;color:black;}
26. What is the correct HTML to define character set used?
A. <meta charset="UTF-8"> C. <meta charset="UTC-8">
B. <meta charset="UTX-8"> D. <meta charset="UTH-8">
27. In MVC Framework, who decides what to render in the View?
A. Model B. View C. Controller D. None of the above
28.What is ASP stands for _______________?
A. Active Side Page C. Active Script Page
B. Active Sever Page D. Active Script Program
29.Which of following is TRUE?
A. The controller redirects incoming request to model.B. The controller executes an incoming
request.C. The controller controls the data.D. The controller render html to view.
30.Which is a storage location that holds a value.
A. data types B. variables C. identifiers D. statements
31. What is the correct HTML for making a comment?
A. <!-- comment --> B. <-- comment --> C. <-- comment --!> D. /* comment */
32. Which of the following view file types are supported in MVC?
A. .cshtml B. .vbhtml C. .aspx D. All of the above
33.What is The “Route” attribute is used to define the URL structure.
A. True B. False C. Both A and B D. None of the above
34. Determine which is a declaration tag that defines the document to be HTML5
A. <html5> B.<xml> C. <http> D. <!DOCTYPE html>
35.What is the shortcut key to start/run program in Visual Studio 2013 project?
A. F5 B. F2 C. F3 D. F10
36. Which of following is TRUE?
A. The controller redirects incoming request to model.B. The controller executes an incoming
request.C. The controller controls the data.D. The controller render html to view
37.Which of the following view file types are supported in MVC?
A. .cshtml B. .vbhtml C. .aspx D. All of the above
38. Which raises an event when the user clicks it.
A. label B. textbox C. button D. combobox
39. What is the shortcut key to start/run program in Visual Studio 2013 project?
A. F5 B. F2 C. F3 D. F10
40. What keyword used to include or use a namespace.
A. class B. set C. include D. using
41. Which HTML tag is used to define an internal style sheet?
A. <script> B. <style> C. <css> D. <internal>
42. What is the correct HTML to define character set used?
A. <meta charset="UTF-8"> C. <meta charset="UTC-8">
B. <meta charset="UTX-8"> D. <meta charset="UTH-8">
43.Which property is used to change the font of an element?
A. font B. font-family C. font-color D. font-size
44. Indicate what does CSS stand for?
A. Computer Style Sheet C. Colorful Style Sheet
B. Cascading Style Sheet D. Creative Style Sheet
45. How do you select an element with id “demo”?
A. #demo B. demo C. .demo D. *demo

Page 2 of 3
46. Assess which is used to terminate a statement.
A. : B. ; C. / D. ,
47.What is the extension of MVC view when using C#?
A. cshtml B. vbhtml C.None D. Both A & B
48.Determine the “Route” attribute is used to define the URL structure.
A. True B. False C. Both A and B D. None of the above
49. Which HTML tag is used to define an internal style sheet?
A. <script> B. <style> C. <css> D. <internal>
50. Inside which HTML element do we put the JavaScript?
A. <script> B. <javascript> C. <scripting> D. <js>
Key to Corrections
Computer Programming.Net
GRADE 11
1.D.
2.D.
3.B.
4.C.
5.D.
6.C.
7.D.
8.B.
9.D.
10. C.
11.C.
12.D.
13.A.
14.A.
15. A.
16. A.
17. B.
18. B.
19.A.
20. D.
21.B.
22.B.
23.B.
24.B.
25.B.
26.A.
27.C.
28.B.
29. A.
30.B.
31.A.
32.D.
33.A.
34.D.
35.A.
36.A.
37.D.
38.C.
39.A.
40.C.
41.B.
42. A.
43.D.
44.B.
45.A.
46.B.
47.A.
48.A.
49.B.
50.A.

You might also like