Computer Studies Practice Tests – Basic Programming

Hello and Welcome to Computer Studies Practice Test - Basic Programming

  1. You are to attempt 5 random objectives questions ONLY.
  2. Supply Your Full Name and Location in the text box below and begin immediately.
  3. You can attempt as many times as possible
  4. Your time starts NOW!
1. 


The _____ statement sets a limit on the number of times the loop will execute by assigning a range of values to a variable in BASIC programming language. (NECO 2018)

A. DIM   B. FOR   C. INPUT   D. LET

2. 


Write the mathematical expression a2 + b2 = c2 in BASIC notation.

A. A^2 + B^2 = C^2
B. A*2 + B*2 = C*2
C. A*2 + B^2 = C^2
D. A^2 + B^2 = C*2

3. 


String and _____ variables are the constants that BASIC interpreter uses during execution. (NECO 2021)

A. double   B. logical   C. numeric   D. relational

4. 


In BASIC program, every READ statement must be accompanied by a _____ statement.

A. LET       B. INPUT       C. OUTPUT       D. DATA

5. 


The two fundamentals of BASIC program are CONSTANT and ______ (NECO 2019)

A. CHARACTER       B. DATA NAMES       C. INTEGER       D. VARIABLE

 

 

error: Content is protected !!