Search Header Logo

Introdution to Scripting 2

Authored by Warren Toomey

Computers

University

Used 24+ times

Introdution to Scripting 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

A comment in Python starts with

a hash character
an exclamation mark
a dollar sign
a question mark

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

A tab character is represented as a

\t
\n
\o
\p

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

A newline character is represent as a

\t

\n

\o

\p

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Strings of letters are represented

surrounded by single or double quotes
surrounded by angle brackets
surrounded by dollar signs
not surrounded by anything

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

A named location in memory used to store a value is

a variable
a function
a comment
a parameter

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

A whole number is

surrounded by single or double quotes
surrounded by angle brackets
surrounded by dollar signs
not surrounded by anything

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

age = 18

stores the value 18 into the age variable
prints the user's age on the screen
asks if the user is age 18
prevents the user from being 18

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?