NAT4 SDD Python Coding

NAT4 SDD Python Coding

4th Grade

8 Qs

quiz-placeholder

Similar activities

Bubble Sort

Bubble Sort

1st Grade - Professional Development

13 Qs

ICT

ICT

3rd - 6th Grade

10 Qs

TSKC-TASK: NETAJI QUIZ-23

TSKC-TASK: NETAJI QUIZ-23

KG - Professional Development

10 Qs

Avaliação Pensamento Computacional - Prático

Avaliação Pensamento Computacional - Prático

1st Grade - Professional Development

10 Qs

TIK Kelas IV SDN ADIBA 2

TIK Kelas IV SDN ADIBA 2

4th Grade

10 Qs

Component of MS PowerPoint

Component of MS PowerPoint

4th Grade

10 Qs

Module 5:Revision

Module 5:Revision

4th Grade

13 Qs

NAT4 SDD Python Coding

NAT4 SDD Python Coding

Assessment

Quiz

Computers

4th Grade

Practice Problem

Hard

Created by

Adrianna Dar

Used 9+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?