CSC 111 Test No1 2

Download as pdf or txt
Download as pdf or txt
You are on page 1of 12

9/27/22, 8:11 AM CSC 111 Test

CSC 111 Test


This test is between 1.55pm and 2.10pm Saturday 17th September, 2022

Which of the following extension is used to represent the project file in Visual
Basic?

.vbp

.vb

.cls

.vvb

One of these parts would interpret a program’s instructions to initiate the control
operations?

Logic unit

Control unit

Storage unit

Input unit

https://docs.google.com/forms/d/e/1FAIpQLSdoyPOWBozYWMbANM50MUM_739QGdJh-n2UinX4wopOCq2MSQ/viewscore?viewscore=AE0zAgC… 1/12
9/27/22, 8:11 AM CSC 111 Test

Which of the following is used in main memory?

SRAM

DRAM

SDRAM

DDRAM

If you keep a variable undeclared, it is automatically taken as to which of the


following data type in Visual Basic?

char

int

object

string

Which of the following is not a function of the Output Unit?

It produces results that can be easily understood by the user

It accepts the results produced by the computer

It supplies the data and instructions to the outside world

It supplies the data and instructions to the computer for further processing

https://docs.google.com/forms/d/e/1FAIpQLSdoyPOWBozYWMbANM50MUM_739QGdJh-n2UinX4wopOCq2MSQ/viewscore?viewscore=AE0zAgC… 2/12
9/27/22, 8:11 AM CSC 111 Test

A non-erasable disk that stores digitized audio information is _____

CD

CD-ROM

DVD-R

DVD-RW

Components that provide internal storage to the CPU are ______

Registers

Program Counters

Controllers

Internal chips

The ALU gives the output of the operations and the output is stored in the ________

Memory Devices

Registers

Flags

Output devices

https://docs.google.com/forms/d/e/1FAIpQLSdoyPOWBozYWMbANM50MUM_739QGdJh-n2UinX4wopOCq2MSQ/viewscore?viewscore=AE0zAgC… 3/12
9/27/22, 8:11 AM CSC 111 Test

Which of these computer languages do we use in artificial intelligence?

FORTRAN

C-Language

PROLOG

COBOL

Which of the following is used to hold running program instructions?

Virtual storage

Internal Storage

Primary storage

Secondary storage

Surname, First name, Other name

https://docs.google.com/forms/d/e/1FAIpQLSdoyPOWBozYWMbANM50MUM_739QGdJh-n2UinX4wopOCq2MSQ/viewscore?viewscore=AE0zAgC… 4/12
9/27/22, 8:11 AM CSC 111 Test

The bitwise complement of 0 is ___________

00000001

10000000

11111111

11111110

The 2’s complement of 15 is ____________

0000

0001

0010

0100

In Visual Basic, which of the following is used for coding single-alternative and
dual-alternative selection structures?

Switch-Case block

If…Then…Else statement

function overloading

Recursion

https://docs.google.com/forms/d/e/1FAIpQLSdoyPOWBozYWMbANM50MUM_739QGdJh-n2UinX4wopOCq2MSQ/viewscore?viewscore=AE0zAgC… 5/12
9/27/22, 8:11 AM CSC 111 Test

The octal equivalent of the binary number (0010010100)2 is ______________

422

242

224

226

The sign magnitude representation of -1 is __________

0001

1110

1000

1001

The computer-assisted method that helps in the recording and analysis of a


hypothetical or an existing system is known as:

Data processing

Data capture

Data flow

Data transmission

https://docs.google.com/forms/d/e/1FAIpQLSdoyPOWBozYWMbANM50MUM_739QGdJh-n2UinX4wopOCq2MSQ/viewscore?viewscore=AE0zAgC… 6/12
9/27/22, 8:11 AM CSC 111 Test

Which of the following languages is more suited to a structured program?

PL/1

FORTRAN

BASIC

PASCAL

The octal equivalent of 1100101.001010 is ______

624.12

124.12

145.12

154.12

The signed magnitude for -3 will be ___________

00000011

10000011

11111101

11111100

https://docs.google.com/forms/d/e/1FAIpQLSdoyPOWBozYWMbANM50MUM_739QGdJh-n2UinX4wopOCq2MSQ/viewscore?viewscore=AE0zAgC… 7/12
9/27/22, 8:11 AM CSC 111 Test

The devices that used to give single or multiple colored images and drawings are
____________

Monitors

Printers

VDUs

Plotters

The decimal equivalent of (0.101)2 will be ____________

0.5

0.625

0.25

0.875

Which of the following is commonly used to perform an immediate action when


clicked in Visual Studio?

Button control

Close

End

Exit

https://docs.google.com/forms/d/e/1FAIpQLSdoyPOWBozYWMbANM50MUM_739QGdJh-n2UinX4wopOCq2MSQ/viewscore?viewscore=AE0zAgC… 8/12
9/27/22, 8:11 AM CSC 111 Test

Which of the following displays the list of projects contained in the Visual Basic
current solution?

List Window

Project Window

Catalogue Window

Solution Explorer Window

Which of the following method is used to sort an array in visual basic?

Array.arrayArrange()

Array.arrange()

Array.Sort()

Array.sortAscending()

In the Visual Basic application, which of the following are listed in a properties
window?

items

values

attributes

objects

https://docs.google.com/forms/d/e/1FAIpQLSdoyPOWBozYWMbANM50MUM_739QGdJh-n2UinX4wopOCq2MSQ/viewscore?viewscore=AE0zAgC… 9/12
9/27/22, 8:11 AM CSC 111 Test

Department:

computer science

A special request originated from some device to the CPU to acquire some of its
time is called ___________

Attenuation

Signal

Interrupt

keyboard

Which of the following instruction tells the computer to close the current form in
Visual Basic?

This.Close()

Me.Close()

Close.this()

Close()

https://docs.google.com/forms/d/e/1FAIpQLSdoyPOWBozYWMbANM50MUM_739QGdJh-n2UinX4wopOCq2MSQ/viewscore?viewscore=AE0zAgC… 10/12
9/27/22, 8:11 AM CSC 111 Test

Convert the binary equivalent 10101 to its decimal equivalent

12

21

31

22

Which of the following is the default name assigned to the label control in Visual
Basic?

DefaultLabel

Label0

NewLabel

Label1

Matric No:

210591035

https://docs.google.com/forms/d/e/1FAIpQLSdoyPOWBozYWMbANM50MUM_739QGdJh-n2UinX4wopOCq2MSQ/viewscore?viewscore=AE0zAgC… 11/12
9/27/22, 8:11 AM CSC 111 Test

Which of the following statement is used to define a class in visual basic?

Event class statement

class statement

Form class statement

Event statement

This form was created inside of LAGOS STATE UNIVERSITY, OJO.

Forms

https://docs.google.com/forms/d/e/1FAIpQLSdoyPOWBozYWMbANM50MUM_739QGdJh-n2UinX4wopOCq2MSQ/viewscore?viewscore=AE0zAgC… 12/12

You might also like