Introdution to Scripting 2

Introdution to Scripting 2

University

9 Qs

quiz-placeholder

Similar activities

ISAC Quiz Day 1 (Coding Vocabulary)

ISAC Quiz Day 1 (Coding Vocabulary)

12th Grade - Professional Development

10 Qs

CPP Quiz 5

CPP Quiz 5

University

10 Qs

Intro to IF statements

Intro to IF statements

KG - University

13 Qs

QUIZ COMPUTER

QUIZ COMPUTER

University

10 Qs

Python Quiz

Python Quiz

9th Grade - Professional Development

10 Qs

Python

Python

University

10 Qs

MongoDB Primer

MongoDB Primer

University

10 Qs

Machine Learning and Python.

Machine Learning and Python.

University

10 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