
Programming II - Python Basics

Flashcard
•
Computers
•
University
•
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.
Create a free account and access millions of resources
Similar Resources on Wayground
44 questions
Pandas Flashcard

Flashcard
•
Professional Development
55 questions
2024-2025 CodeHS Computer Science Principles Fall Final Review

Flashcard
•
9th - 12th Grade
49 questions
ACP CS 1 December 2024 (Practice)

Flashcard
•
10th Grade
55 questions
Python 3 Loops

Flashcard
•
9th - 12th Grade
39 questions
021125 Project STEM Vocabulary and Concepts

Flashcard
•
9th - 12th Grade
38 questions
TEAMS Q4 Final Review

Flashcard
•
10th Grade
32 questions
NW3 Exam (Major Grade)

Flashcard
•
KG - University
48 questions
Python Review

Flashcard
•
University
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 Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University