
BASIC Control Statements
Quiz
•
Computers
•
8th - 11th Grade
•
Medium
Susan O'Connell
Used 2+ times
FREE Resource
Enhance your content in a minute
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A ______ displays a list of program functions from which the user can choose one.
collating sequence
menu
Boolean operator
relation operator
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not an relational operator?
<
>
=
*
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The block IF statement statement uses relational operators to compare _____
constants, variables, and arithmetic expressions
constants and relational operators
relational symbols and characters only
characters and arithmetic expressions only
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens if the variable A is equal to 5 when JustBasic executes the following statements?
IF A > 10 THEN
A = A * 2
END IF
The ELSE clause will be executed.
The value of A will be doubled.
Nothing; Control will be passed to the statement following END IF.
An error will occur and program execution will stop.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a double- alternative block IF statement _______
both the THEN and the ELSE clause may be executed
either the THEN or the ELSE clause will be executed
neither the THEN or the ELSE clause may be executed
the THEN clause is always executed
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens if num1 = 4 when the following statement is executed?
IF (num1 - 2) * 5 >= 10 THEN
PRINT “Result is valid.”
END IF
The first executable statement after this statement is executed
The program stops executing
“Result is valid.” is printed
An error message is displayed.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens when a string variable is compared to a numeric variable?
The variables are compared character by character until one of the values is different.
The variables are ignored.
An error will occur.
The second variable is automatically changed to the data type of the first variable.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
حاسب 2
Quiz
•
10th Grade
15 questions
Cyber Security Homework 1
Quiz
•
7th - 9th Grade
14 questions
Introduction to Networks
Quiz
•
6th - 8th Grade
10 questions
ICT Java programming workshop
Quiz
•
9th Grade
10 questions
Паскаль. Основные команды
Quiz
•
8th - 11th Grade
12 questions
Revision quiz on Access
Quiz
•
8th Grade
12 questions
ICT Computer Basics pt1
Quiz
•
10th - 12th Grade
15 questions
J808 LO1 and LO2 planning project keywords / terms
Quiz
•
9th - 11th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
