Search Header Logo

CP Unit 1.1-1.6 Quiz

Authored by Marcia Bernas

Computers

10th Grade

Used 3+ times

CP Unit 1.1-1.6 Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

22 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Instructions written in code that a computer can understand are called:

Compiler

Input

Operating System

Program

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Memory locations are described using _______.

variables

cells

boxes

functions

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a conventional/legal way to name a variable?

1testscores

test_scores1

testScores1

test1

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the output be from the following code?
print("Hello world!\nHello world!")

Hello world! Hello world!
Hello world!
Hello world!
SyntaxError
Hello world!

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is syntax?

Syntax is the word used to describe an error
Syntax is the rules of the programming language
It is used to read information
It is used to output information 

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the output be from the following code?
print(Hello world!)

Hello world!
SyntaxError
Hello world
print(Hello world!)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What syntax can you use to insert a line break between strings so that they appear over multiple lines?

/
\n
\l
n

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?