Computers-Programming in Qbasic (NCO- Cyber Olympiad Class 7): Questions 1 - 4 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 Equation

b.

PRINT Equation

c.

PRINT Equation

d.

PRINT Equation

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 Equation

FOR C Equation TO Equation

LET S Equation

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 Equation TO Equation

READ N$

PRINT N$

NEXT N

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

Choices

Choice (4) Response

a.

FOR F# Equation 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 Equation

DO WHILE C Equation

LET C Equation

LOOP

PRINT C

Choices

Choice (4) Response

a.

1

b.

0

c.

6

d.

5

f Page
Sign In