Python Basics

Flashcard
•
Computers
•
6th - 12th Grade
•
Hard
Wayground Content
FREE Resource
Student preview

9 questions
Show all answers
1.
FLASHCARD QUESTION
Front
To display something on the screen, use this command:
Back
print()
2.
FLASHCARD QUESTION
Front
To display the following on screen
Hello World!
the following command should be used:
Back
print("Hello World!")
3.
FLASHCARD QUESTION
Front
What does the following code display?
x = 5 y = 6 print(x*y)
Back
30
4.
FLASHCARD QUESTION
Front
What does the following code display?
x = 5
y = 6
print("x*y")
Back
x*y
5.
FLASHCARD QUESTION
Front
The code is run. You type: six. Select the correct output.
Back
We have six cakes
6.
FLASHCARD QUESTION
Front
Operators used in python: divide, multiply, add, subtract
Back
/, *, +, -
7.
FLASHCARD QUESTION
Front
To display something on the screen, use this command:
Back
print()
8.
FLASHCARD QUESTION
Front
What is the output of the following code if sunny was entered? Options: Take a brolly!, Have a great day, The code would not run
Back
Have a great day
9.
FLASHCARD QUESTION
Front
What will be the output of the following code?
```python
x = 10
y = 5
print(x - y)
```
Back
`5`
Similar Resources on Wayground
13 questions
Computer Science

Flashcard
•
8th - 12th Grade
9 questions
Python Review 5/23

Flashcard
•
9th - 12th Grade
10 questions
សំណួរតេស្តICT

Flashcard
•
KG - University
8 questions
Warm Up- EduBlocks- Terms and Concepts

Flashcard
•
9th - 12th Grade
12 questions
Basics Python

Flashcard
•
8th - 10th Grade
12 questions
App Creator 1.4/1.5

Flashcard
•
6th - 9th Grade
14 questions
CSP Unit 4 Review - Variables, Conditionals, Functions

Flashcard
•
KG - University
10 questions
CODEHS Looping Unit 5 Review

Flashcard
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
8 questions
Time Management

Quiz
•
6th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
17 questions
[AP CSP] Binary Number System

Lesson
•
9th - 12th Grade
15 questions
Computer Components Video

Interactive video
•
8th Grade
14 questions
Computer Hardware

Quiz
•
7th Grade