Programming

Programming

9th - 11th Grade

20 Qs

quiz-placeholder

Similar activities

Post-Break Python Refresher

Post-Break Python Refresher

9th - 12th Grade

20 Qs

Python 2 DTP09

Python 2 DTP09

9th Grade

19 Qs

Python year 9

Python year 9

8th - 11th Grade

20 Qs

Microbit Quiz

Microbit Quiz

8th - 10th Grade

18 Qs

python intro

python intro

4th - 12th Grade

17 Qs

Int Prog: Lists and Functions

Int Prog: Lists and Functions

9th - 12th Grade

20 Qs

Basic Programming Concepts

Basic Programming Concepts

9th Grade

15 Qs

List & String - Gtrade 9 Recap - Jan 22

List & String - Gtrade 9 Recap - Jan 22

9th - 11th Grade

20 Qs

Programming

Programming

Assessment

Quiz

Computers

9th - 11th Grade

Hard

CCSS
6.EE.B.6

Standards-aligned

Created by

Louise Lockwood

Used 59+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To create a newline at the end of prompt, you can use which of the following expressions?
\new
\n
\break
\return

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What symbol is used in python to assign values to a variable?
equals =
plus + 
forward slash /
asterisk *

Tags

CCSS.6.EE.B.6

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an advantage of using local variables?

They allow the variable to be used throughout the whole program

They allow variable identifiers to be reused each time

They are easier to program than global variables

A wider range of data types can be used

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What term is used to describe data passed into/out of a program?

Variable

Loop

Constant

Parameter

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What term is used to describe data passed into/out of a program?

Variable

Loop

Constant

Parameter

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Leo wants to create a subroutine that will roll a dice. Which syntax is correct?

def dice roll ():

def diceroll ()

def diceroll ():

def diceroll []:

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What would the output be from the program shown here? (assuming that the user enters "John" and "Smith"

John

Smith

John Smith

Error

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?