BASIC Control Statements

BASIC Control Statements

8th - 11th Grade

12 Qs

quiz-placeholder

Similar activities

PowerPoint Quiz 2

PowerPoint Quiz 2

9th Grade

13 Qs

Cyber Security KS4

Cyber Security KS4

8th - 12th Grade

15 Qs

WJEC GCSE ICT Unit 1 E-Mail

WJEC GCSE ICT Unit 1 E-Mail

9th - 10th Grade

13 Qs

Scratch

Scratch

KG - Professional Development

10 Qs

Adventure game project

Adventure game project

7th - 8th Grade

12 Qs

Java: repetition control structure for & while

Java: repetition control structure for & while

10th - 12th Grade

10 Qs

Lesson 1 Introduction to Database System

Lesson 1 Introduction to Database System

10th Grade

10 Qs

Week 2 ( Prepare Hand Tools)

Week 2 ( Prepare Hand Tools)

9th Grade

10 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?