Computer 4 Past Papers


Subject: Computer-IV

Time Allowed: 10 Minutes

Maximum Marks: 10

NOTE: Attempt this Paper on this Question Sheet only. Please encircle the correct option. Division of marks is given in front of each question. This Paper will be collected back after expiry of time limit mentioned above.


Part-I  Encircle the correct option, cutting and overwriting is not allowed. (10)

1. Which one of the following translates source code to object code as a whole.
a. Compiler b. Interpreter
c. Assembler d. Debugger
2. Which of the following are the characteristics of objects in VB?
a. Methods b. Functions
c. Action d. Properties
3. A project file is saved with the following extension.
a. .frm b. .vbp
c. .vb d. .fix
4. Which event occurs before the Form is displayed on the screen?
a. Unload b. Hide
c. Remove d. Load
5. Which of the following is NOT valid identifier(s) in VB.
a. myname b. littles
c. X123Y d. a and c
6. Which of the following data types can store only integer values?
a. short b. Byte
c. Long d. All
7. Which of the following is used to terminate a loop from with in the loop body?
a. End Loop b. Exit Loop
c. Exit Do d. End Do
8. An integer array with 10 elements can be defined in VB as.
a. Dim C(10) As integer b. Dim C[10] As Integer
c. Integer C[10] d. Integer C[10]
9. Which property of Label control is used to change its size according to its contents
a. size b. Visible
c. Autosize d. TextAlign
10. Which property is used to automatically adjust an image to fit the size of pictureBox.
a. SizeAdjust b. AutoAdjust
c. AutoSize d. SizeMode


Subject: Computer-IV

Time Allowed: 2 Hours 45 Minutes

Maximum Marks: 50



Part-II Give short answer, each answer carries equal marks. (20)

Q#1: What is compiling?

Q#2: Differentiate between project and solution?

Q#3: What are three steps for creating VB application?

Q#4: Differentiate between Text property and Name Property?

Q#5: What is an identifier?

Q#6: What are multidimensional Arrays?

Q#7: What is relational expression??

Q#8: How does an array differ from simple variable?

Q#9: What is Modality?

Q#10: How does a checkbox differ from Radio Button?

Part-III Give detailed answer, each answer carries equal marks. (30)

Q#1: Write a program that will prompt the user to enter values in array and display the minimum and maximum values.

Q#2: Explain Looping Structures in detail.

Q#3: Write a program that inputs an integer and displays the sum of its digits.

500+ Past Papers – Computer Science