BASIC Control Statements

BASIC Control Statements

8th - 11th Grade

12 Qs

quiz-placeholder

Similar activities

Microcontroller

Microcontroller

11th Grade - University

10 Qs

Input, output and storage de

Input, output and storage de

8th Grade - Professional Development

14 Qs

Tin học 10 _ Bài 16 _Định dạng văn bản

Tin học 10 _ Bài 16 _Định dạng văn bản

10th - 12th Grade

10 Qs

TIN 11 - PYTHON - PHÉP TOÁN - BIỂU THỨC - CÂU LỆNH GÁN

TIN 11 - PYTHON - PHÉP TOÁN - BIỂU THỨC - CÂU LỆNH GÁN

11th Grade

10 Qs

HTML Öğreniyorum!

HTML Öğreniyorum!

8th Grade

10 Qs

7.02 going online

7.02 going online

4th - 9th Grade

10 Qs

hardware and software(g3)

hardware and software(g3)

2nd - 10th Grade

10 Qs

Microbit Features Activity

Microbit Features Activity

6th - 8th Grade

9 Qs

BASIC Control Statements

BASIC Control Statements

Assessment

Quiz

Computers

8th - 11th Grade

Medium

Created by

Susan O'Connell

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?