
Programming II - Python Basics
Flashcard
•
Computers
•
University
•
Practice Problem
•
Medium
Steffan Limon
Used 1+ times
FREE Resource
Student preview

52 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What are the two main platforms to write Python code?
Back
Jupyter Notebook and Google Colab.
2.
FLASHCARD QUESTION
Front
How do you access Google Drive in Google Colab?
Back
Use the commands: from google.colab import drive, drive.mount('/content/drive'), and %cd /content/drive/MyDrive/.
3.
FLASHCARD QUESTION
Front
What are the basic data types in Python?
Back
int, float, str, bool.
4.
FLASHCARD QUESTION
Front
What does the 'int' data type represent?
Back
Whole numbers.
5.
FLASHCARD QUESTION
Front
How do you create a variable in Python?
Back
Use the syntax: variable_name = value.
6.
FLASHCARD QUESTION
Front
What are the good naming rules for variables in Python?
Back
Don’t start with a number, no spaces, use underscores instead, avoid reserved words, and use clear names.
7.
FLASHCARD QUESTION
Front
What is the result of 'print(a + b)' if a = 10 and b = 3?
Back
It prints 13.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
50 questions
Faire & Jouer
Flashcard
•
KG - University
43 questions
Työ (SM 4) (KPL 1)
Flashcard
•
KG - University
55 questions
Psych Unit 4: Learning and Language
Flashcard
•
11th Grade - University
52 questions
TRS Ilm-e-Quran Book 1 Lesson 1
Flashcard
•
Professional Development
40 questions
Close-up B1+ Unit 5 Quiz
Flashcard
•
12th Grade
48 questions
Eng 102
Flashcard
•
11th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade