NAT4 SDD Python Coding

NAT4 SDD Python Coding

4th Grade

8 Qs

quiz-placeholder

Similar activities

Third Day Quiz!

Third Day Quiz!

1st - 5th Grade

10 Qs

Python - Year 8

Python - Year 8

3rd Grade - University

10 Qs

Edu Block 2

Edu Block 2

4th - 7th Grade

10 Qs

python

python

3rd Grade - University

12 Qs

B4PrePSPM Set1

B4PrePSPM Set1

1st - 5th Grade

13 Qs

Python

Python

4th Grade

12 Qs

Intro to Python

Intro to Python

KG - University

10 Qs

Java Lesson 2

Java Lesson 2

KG - Professional Development

7 Qs

NAT4 SDD Python Coding

NAT4 SDD Python Coding

Assessment

Quiz

Computers

4th Grade

Hard

Created by

Adrianna Dar

Used 9+ times

FREE Resource

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is wrong with this piece of code?

Missing semi-colon at the end

No line for user input

Text is not included within speech marks

To many print statements

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is wrong with this piece of code?

The addition of variables cats and dogs should be included within parenthesis

Missing semi-colon at the end of a print statement

Variables cats and dogs are not converted to integer type before it is taken for calculation

Variables type is missing before their name

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is wrong with this piece of code?

To many if statements

Missing semi-colon at the end of print statement

Missing else statement at the end of a program

Wrong data type for variable ticket

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is wrong with this piece of code?

Missing semi-colon at the end of a print statement

Missing colon after if and else statement

Wrong data type for variable score

Double == should be changed to single =

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is wrong with this piece of code?

counter should be change to (3):

Missing semi-colon at the end of a print statement

Extra pair f parenthesis after input

total within print statement is not a variable, it's part of string expression

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is wrong with this piece of code?

Variable times conversion to integer data type is not needed

Value of counter in for loop is missing after range

There should be word while instead of for in second line

Expression "Enter a number" should not be included within speech marks

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is wrong with this piece of code?

Missing semi-colon at the end of output statement

To many commas included within output statement

Incorrect naming conventions for variables

Output statement doesn't exist.

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is wrong with this piece of code?

The conversion to integer data type is not needed taking user input

Missing semi-colon at the end of print statement

Incorrect format of user input statement

Incorrect data type for variables initialised with value 0.0