PC1.8 Evaluate computer program

PC1.8 Evaluate computer program

9th Grade

10 Qs

quiz-placeholder

Similar activities

PRUEBA CORTA I - SISTEMA E INSTALACIÓN DE SOFTWARE I - U4

PRUEBA CORTA I - SISTEMA E INSTALACIÓN DE SOFTWARE I - U4

9th - 12th Grade

15 Qs

 Unit 4 Advanced AP CSP

Unit 4 Advanced AP CSP

9th - 12th Grade

10 Qs

Parcial 1, Primera serie

Parcial 1, Primera serie

6th Grade - University

10 Qs

Websites Hwk 1

Websites Hwk 1

7th - 9th Grade

14 Qs

Cyber Security

Cyber Security

1st - 10th Grade

10 Qs

Programs and Variables in Code and Play

Programs and Variables in Code and Play

5th - 9th Grade

7 Qs

Google Aptitude Test

Google Aptitude Test

KG - University

10 Qs

BIM1014 Quiz 2

BIM1014 Quiz 2

KG - University

15 Qs

PC1.8 Evaluate computer program

PC1.8 Evaluate computer program

Assessment

Quiz

Computers

9th Grade

Practice Problem

Hard

Created by

Anas Ramadan

Used 12+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

How many variables in the codes below?

score=int(input("Enter the score? "))

a=200

total=a+100


1

2

3

4

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What is the data type in the score's variable?

score=int(input("Enter the score? "))

Integer

Float

Character

String

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What is the data type in the score's variable?

score=input("Enter the score? ")

Integer

Float

Character

String

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What is the output in the codes below?

a=10

b=20

print(a!=b)

10

False

True

20

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

if total>=50 :

print("A")

else :

print("B")

Will the code inside the if block is executed or skipped when total = 50?

(if block) will not be executed, then print "B"

(if block) will be executed, then print "A"

(if block) will be executed, then print "B"

(if block) will not be executed, then print "A"

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

The codes below have an error because of :

score=90

if score>100 :

else :

print("B")

No parentheses after if statement

No print function after if statement

No columns

No semicolons

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

The codes below have an error because of :

if score>100 :

print("A")

else :

print("B")

No indent

No print function

No columns

No variables

Create a free account and access millions of resources

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?