Computers-Programming in Qbasic (NCO- Cyber Olympiad (SOF) Class 7): Questions 1 - 5 of 6

Get 1 year subscription: Access detailed explanations (illustrated with images and videos) to 416 questions. Access all new questions we will add tracking exam-pattern and syllabus changes. View Sample Explanation or View Features.

Rs. 300.00 or

Question number: 1

» Computers » Programming in Qbasic

Appeared in Year: 2011

MCQ▾

Question

You are given a result wanted from the computer. Select the line of code that will cause the computer to produce this result.

“Print the sum of two integer variables. “

Choices

Choice (4) Response

a.

PRINT SUM

b.

PRINT

c.

PRINT

d.

PRINT

Question number: 2

» Computers » Programming in Qbasic

Appeared in Year: 2011

MCQ▾

Question

You are given a segment of code. Choose the answer that describes the result when this segment of code is executed.

LET S

FOR C TO

LET S

NEXT C

PRINT S

Choices

Choice (4) Response

a.

An error message is displayed.

b.

The integers from 1 to 10 are printed.

c.

The letter S is printed.

d.

The sum of the integers from 1 to 10 is printed,

Question number: 3

» Computers » Programming in Qbasic

MCQ▾

Question

The following segment of code contains an error. Choose the answer that corrects the error.

FOR I TO

READ N$

PRINT N$

NEXT N

DATA “TOM”, “DICK”, “HARRY”

Choices

Choice (4) Response

a.

FOR F# TO 3

b.

NEXT I

c.

PRINT “N$”

d.

DATA TOM DICK HARRY

Question number: 4

» Computers » Programming in Qbasic

MCQ▾

Question

In this question you will be given a segment of code. Choose the answer that describes the result when this segment of code is executed.

LET C

DO WHILE C

LET C

LOOP

PRINT C

Choices

Choice (4) Response

a.

1

b.

0

c.

6

d.

5

Question number: 5

» Computers » Programming in Qbasic

MCQ▾

Question

In this question you are given a segment of code. Choose the answer that describes the result when this segment of code is executed.

LET S

FOR C

LET S S C

NEXT C

PRINT S

Choices

Choice (4) Response

a.

The letter S is printed.

b.

The integers from 1 to 10 are printed.

c.

The sum of the integers from 1 to 10 is printed.

d.

An error message is displayed.

f Page
Sign In