Introdution to Scripting 2

Introdution to Scripting 2

University

9 Qs

quiz-placeholder

Similar activities

DBMS

DBMS

University

10 Qs

Python User Input Quiz

Python User Input Quiz

6th Grade - University

10 Qs

Exploring Python: Input and Output Essentials

Exploring Python: Input and Output Essentials

9th Grade - University

10 Qs

AP CSP Review

AP CSP Review

9th Grade - University

14 Qs

Python Projects Quiz

Python Projects Quiz

6th Grade - University

11 Qs

C++ Chapter 2

C++ Chapter 2

University

7 Qs

Injection Part 2

Injection Part 2

University

10 Qs

Week6-ERD-2

Week6-ERD-2

University

13 Qs

Introdution to Scripting 2

Introdution to Scripting 2

Assessment

Quiz

Computers

University

Medium

Created by

Warren Toomey

Used 24+ times

FREE Resource

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

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

input("What is your age?" )
asks the user to enter their age
stores the value 18 into the age variable
prints the user's age on the screen
prevents the user from being 18

9.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

print("Your age is ", age)
prints the word age once
prints the word age twice
doesn't print the word age at all
asks the user to enter their age