Introdution to Scripting 2

Introdution to Scripting 2

University

9 Qs

quiz-placeholder

Similar activities

CPP Quiz 5

CPP Quiz 5

University

10 Qs

Arrays

Arrays

KG - University

10 Qs

MS Core Java Quiz-2 2023

MS Core Java Quiz-2 2023

University

12 Qs

Python Revision

Python Revision

University

14 Qs

DS Quiz1

DS Quiz1

University

10 Qs

Java Class vocabulary

Java Class vocabulary

9th Grade - University

12 Qs

Python Basics for Young Learners

Python Basics for Young Learners

8th Grade - University

14 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