
python Basics

Flashcard
•
Computers
•
8th Grade
•
Hard
BRIAN DOYLE
FREE Resource
Student preview

26 questions
Show all answers
1.
FLASHCARD QUESTION
Front
To display something on the screen, use this command: print(), Print(), screen(), write(), display()
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
x = 5 y = 6 print(x*y)
The code above displays the following:
Back
30
4.
FLASHCARD QUESTION
Front
x = 5 y = 6 print("x*y")
The code above displays the following:
Back
x*y
5.
FLASHCARD QUESTION
Front
cakeAmount = raw_input() print "We have", cakeAmount, " cakes"
The above code is run. You type: six
Select the correct output.
Back
We have six cakes
6.
FLASHCARD QUESTION
Front
cakeAmount = input() print "We have", cakeAmount, " cakes"
The above code is run. You type: six
Select the correct output.
Back
Error
7.
FLASHCARD QUESTION
Front
age = input("Enter Age (as integer): ") newAge = age + 20 print ("your age in 20 years is:", newAge)
you enter 15
Back
value of age is 15 value of newAge is 35 output is: your age in 20 years is: 35
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
Python Basics Flashcard

Flashcard
•
8th Grade
19 questions
Python - If Else...

Flashcard
•
9th Grade
16 questions
Intro to Python

Flashcard
•
6th - 8th Grade
21 questions
Java Loops

Flashcard
•
KG
16 questions
Python L1 Knowledge Check

Flashcard
•
6th - 8th Grade
18 questions
Python Basics Review

Flashcard
•
10th Grade
26 questions
Topic 1 TEST review

Flashcard
•
9th Grade
17 questions
Python Review

Flashcard
•
7th - 8th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

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

Interactive video
•
6th - 10th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade