Search Header Logo

10 min test 22

Authored by Laura Boyd

Computers

7th Grade

Used 2+ times

10 min test 22
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

21 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which logic gate gives an output of 0 if both inputs are 0?

AND gate

OR gate

Both AND and OR gates

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Given that x = "CompSci" and test = x.substring(4,1) what is the output of print(test)?

S

p

Comp

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Given that x = "CompSci" and test = x.substring(4,1) What would

print (x + test) output?

CompSciS

CompScip

CompScIComp

4.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Media Image

The highScore variable has an integer data type. Using the correct data type makes code...

more memory efficient

less memory efficient

more robust

less robust

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

The flow of this program is controlled by

a selection statement

an interation statement

both selection and iteration statements

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which of these inputs would have resulted in the output 'Invalid score entered'

1

1.1

101

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What would the program output if the input was 90?

You equalled the high score

New high score, well done!

You did not beat the high score

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?