Search Header Logo

CS1 Midterm Review

Authored by Susan O'Connell

Computers

9th - 12th Grade

Used 3+ times

CS1 Midterm Review
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The

extension added to our program names is __________________

.qbs

.doc

.bsa

.bas

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A(n) __________ always contains an ELSE clause.

 single-alternative block IF
double-alternative block IF
SELECT CASE
menu

3.

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

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What happens if X=7 when the following statement is executed?

IF (X+3) + 5> 10 THEN

PRINT “Answer is correct.”

END IF

The first executable statement after this statement is ececuted

“Answer is correct.” is printed

The program stops executing.

An error message is displayed

5.

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 ignore d.
An error will occur.
The second variable is automatically changed to the data type of the first variable.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the foll0wing expressions is false?

 8 <> 5
15 > 13
5 <= 3
“f ”<= “m”

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ASCII stands for

 American Single Code for Information Interchange
American Standard Code for Information Interchange
American Standard Computer for Information Interchange
American Standard Code for Information Internet

Access all questions and much more by creating a free account

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?