[go: up one dir, main page]

0% found this document useful (0 votes)
38 views4 pages

SC23104 Final Examination Computer Science M3

This document contains a final exam for level 3/1 students at Matthayom Wat Benchamabophit School assessing their computer skills. The exam has two parts: 1) a 24 question multiple choice section and 2) designing a simple Visual Basic program. The exam evaluates students' abilities in areas like conditional programming, loops, variables, and user interface design. It provides instructions for both parts and is signed by the relevant teachers and administrators.

Uploaded by

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

SC23104 Final Examination Computer Science M3

This document contains a final exam for level 3/1 students at Matthayom Wat Benchamabophit School assessing their computer skills. The exam has two parts: 1) a 24 question multiple choice section and 2) designing a simple Visual Basic program. The exam evaluates students' abilities in areas like conditional programming, loops, variables, and user interface design. It provides instructions for both parts and is signed by the relevant teachers and administrators.

Uploaded by

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

Matthayom Wat Benchamabophit School

Final Examination School Year: 2020-2021 Level: 3/1


Code: SC23104 Subject: Computer Score: 30Marks
Date: Time: 60 minutes
***************************************************************************************
Details: 1. This exam is composed of two parts which are:
a. Multiple choices (24 items)
b. Program coding (1 item)
2. Answers for this exam must be completed in the answer sheet provided.
***************************************************************************************
This exam is designed to assess students meet with the following indicators/ learning outcomes.

1. Creating simple programs using VB codes that can make decisions when it processes input from
the user, and controls the flow in the process.

2. Identifying codes and statements that control the flow of execution of a program or one of its
sections.

3. Designing programs with user interface that use conditional programming statements.

4. Creating programs that uses repetition statements through Visual Basic.

5. Identifying program loops that instructs a program to perform as task repeatedly, either a
specific number of times or until a condition are met.

***************************************************************************************

________________________ ___________________________
Mr. Christian Salarza Mr. Nikom Chitkong
English Teacher (Foreigner) Head Computer Department

_ _ _
Miss. Hataipat Tarat Lt. Supod Suwinai
Head of Academic Department Deputy Director

_ ____________
Dr. Phongthai Kheereewongwattana
Director

1
Part 1: Multiple choice. Choose the best answer.

1. Which of these is the execution of a number of statements depending on the state of the
program?
1. Repetition Programming 2. Comments
3. End Statement 4. Selection Programming

2. It is the inline documentation that helps to read, reuse and maintain existing code. Which of
the choice is this?
1. Repetition Programming 2. Comments
3. End Statement 4. Selection Programming

3. This is the execution of a statement until the program reaches a certain state or operations are
applied to every element of a collection. Which of the following is this?
1. Repetition Programming 2. Comments
3. End Statement 4. Selection Programming

4. Which of the following is used to stop the execution of a form?


1. Repetition Programming 2. Comments
3. End Statement 4. Selection Programming

5. In giving comments, symbol can also be used in giving comments?


1. apostrophe ( ‘ ) 2. comma ( , )
3. punctuation mark ( ! ) 4. dot ( . )

Refer to the image below for numbers 6-8.

For numbers 6-8: Select the correct control name as indicated by the arrow.
6.
1. Command 2. Label
3. Checkbox 4. Textbox

7.
1. Command 2. Label
3. Checkbox 4. Textbox

8.
1. Command 2. Label
3. Checkbox 4. Textbox

2
9. Which of the following is used to give a comment in your code?
1. Dim 2. Else
3. Val 4. Rem

10. Which of the following is not included in the three common programming constructs that
Visual Basic supports?
1. Selection 2. Sequence
3. Repetition 4. All of these

11. Which of the following property controls the size of the letters or words in a form?
1. ForeColor 2. Caption
3. Name 4. Font

12. Which property name should you edit if you want to change the name indicated in the
appearance of a command button?
1. ForeColor 2. Caption
3. Name 4. Font

13. Which property name should you edit if you want to change the texts in bold letters?
1. ForeColor 2. Caption
3. Name 4. Font

Refer to the image below for numbers 14-17.

14. What is the control name indicated by the arrow?


1. ListBox 2. ComboBox
3. OptionButton 4. CheckBox

15. How many command buttons were used in the form?


1. one 2. two 3. three 4. four

16. How many labels were used in the form?


1. one 2. two 3. three 4. four

17. How many textbox were used in the form?


1. one 2. two 3. three 4. four

18. Which of the following is used to collect the value of the data being written in a textbox?
1. Dim 2. Else
3. Val 4. Rem

3
19. Which of the following is not included in the three parts of a DO… Loop
1. Step value 2. Initialization
3. Condition 4. Finalization

20. This refers to using one loop within another loop.


1. Nested loop 2. Repetition statement
3. Pre-tested loop 4. Post-tested loop

21. This refers to any block of statement that repeats itself based on a condition.
1. Nested loop 2. Repetition statement
3. Pre-tested loop 4. Post-tested loop

22. It is the exit controlled loop where the block of statement is executed first then the condition is
evaluated.
1. Nested loop 2. Repetition statement
3. Pre-tested loop 4. Post-tested loop

23. This is the entry controlled loop where the condition is evaluated first and then the block of
statements is executed.
1. Nested loop 2. Repetition statement
3. Pre-tested loop 4. Post-tested loop

24. Which of the following is repeating a program structure until the specified condition is met?
1. Stooping 2. Conditioning
3. Looping 4. Testing

Part 2: Design a program in Visual Basic that meets the following instructions. The finish work
should be saved as form and send to your Google classroom assignment named: “Final
Exam Part 2.”

1. Design a program that a user has to input a principal amount of loan.


2. Calculate the 15% interest and show in a text box.
3. Calculate the total amount to be paid (principal + interest) and show it in a message box.
4. Fonts should be in size 10 and bold.

Output Sample:

You might also like