Python: Print Function, Data Types, and Variables

Flashcard
•
Engineering
•
6th Grade
•
Hard
Wayground Content
FREE Resource
Student preview

13 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What is the correct way to declare a string variable in Python? Options: string name = "Hello", str name = "Hello", name = "Hello", name = Hello
Back
name = "Hello"
2.
FLASHCARD QUESTION
Front
Which of the following is an integer in Python? 3.14, "42", 42, True
Back
42
3.
FLASHCARD QUESTION
Front
How do you correctly print the text "Hello, World!" in Python?
Back
print=("Hello, World!")
4.
FLASHCARD QUESTION
Front
Which of the following is a floating point number? 7, 7.0, "7.0", True
Back
7.0
5.
FLASHCARD QUESTION
Front
Which of the following is a correctly named variable in Python? 1st_variable, firstVariable, first-variable, first variable
Back
firstVariable
6.
FLASHCARD QUESTION
Front
What will be the output of the following code: print(3 + 4.5)?
Back
7.5
7.
FLASHCARD QUESTION
Front
What is the result of the expression 10 // 3 in Python?
Back
3
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Python

Flashcard
•
7th - 8th Grade
10 questions
Python

Flashcard
•
7th - 8th Grade
10 questions
Python

Flashcard
•
7th - 8th Grade
10 questions
Python. Ввод и вывод данных

Flashcard
•
7th Grade
8 questions
hello kitty y sus amigos

Flashcard
•
KG
12 questions
conceptos básicos de programación

Flashcard
•
KG
10 questions
Hello kitty

Flashcard
•
5th Grade
10 questions
PYTHON "If" Statement

Flashcard
•
6th 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
9/11 Experience and Reflections

Interactive video
•
10th - 12th 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
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Engineering
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
10 questions
Understanding the Scientific Method

Interactive video
•
5th - 8th Grade
20 questions
Figurative Language Review

Quiz
•
6th Grade
20 questions
Run-On Sentences and Sentence Fragments

Quiz
•
3rd - 6th Grade