Code Snippet Errors Quiz

Code Snippet Errors Quiz

Assessment

Passage

Computers

7th Grade

Hard

Created by

Chris Bashford

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the first mistake in the code snippet provided?

The name is incorrect.

The string is not enclosed in quotes.

There is a missing semicolon.

The parentheses are incorrect.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the second mistake in the code snippet provided?

The function name is incorrect.

The string is not enclosed in quotes.

There is a missing closing parenthesis.

The string should be in single quotes.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the term "Output" refer to in programming?

The values which get sent from the computer to the user

The place where inputs get stored by the program

Values which get sent from the user into the computer

The process of storing data

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is associated with values sent from the user to the computer?

Output

Variable

Input

Function

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is associated with storing inputs in a program?

Output

Variable

Input

Array

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a key word related to programming?

Canvas

Input

Palette

Brush

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What should students remember about inputs in Python?

How to delete them

How to store them in variables

How to print them

How to ignore them

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?