
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.
Create a free account and access millions of resources
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
10 questions
Activity 1: How well do you know Java?
Quiz
•
9th Grade
15 questions
4.6.4 Logic Gates
Quiz
•
10th Grade - Professi...
10 questions
THE PHOTOSHOP WINDOW
Quiz
•
7th - 8th Grade
10 questions
NHTW Programming
Quiz
•
9th Grade
9 questions
Test Excel
Quiz
•
10th - 12th Grade
10 questions
For loop
Quiz
•
8th Grade
17 questions
PSTS1 Informatika
Quiz
•
10th Grade
11 questions
CSS9_Q3M3L1_QUIZ5
Quiz
•
9th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
