S3 Exam Revision Page3

S3 Exam Revision Page3

Assessment

Flashcard

Computers

9th Grade

Hard

Created by

H Gillani

FREE Resource

Student preview

quiz-placeholder

10 questions

Show all answers

1.

FLASHCARD QUESTION

Front

Python print statement

Back

print("Hello World")

2.

FLASHCARD QUESTION

Front

Python input example

Back

x = input('Enter your name:') print('Hello, ' + x)

3.

FLASHCARD QUESTION

Front

Basic if statement

Back

a = 33

b = 200

if b > a:

print("b is greater than a")

4.

FLASHCARD QUESTION

Front

Using elif in Python

Back

a = 33

b = 33

if b > a:

print("b is greater than a")

elif a == b:

print("a and b are equal")

5.

FLASHCARD QUESTION

Front

Using else in Python

Back

a = 200

b = 33

if b > a:

print("b is greater than a")

elif a == b:

print("a and b are equal")

else:

print("a is greater than b")

6.

FLASHCARD QUESTION

Front

Nested if statement

Back

x = 41 if x > 10:

print("Above ten,") if x > 20:

print("and also above 20!")

else:

print("but not above 20.")

7.

FLASHCARD QUESTION

Front

Fixed loop example

Back

for x in range(6):

print("I love Computing Science!")

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?