Questions and Answers
What is the Python script file extension name?
Word.py
What is an assembler?
A software used to translate assembly language programs into machine code
What is assembly language?
A low-level programming language that uses a mnemonic for each machine language instruction
What is a bit?
Signup and view all the answers
What is a bus in computing?
Signup and view all the answers
What is a byte?
Signup and view all the answers
What does a cable modem do?
Signup and view all the answers
When you use a function in programming, you are said to be "invoking a function" or "_______________"
Signup and view all the answers
What is the central processing unit (CPU)?
Signup and view all the answers
What is a comment in programming?
Signup and view all the answers
What is a compiler?
Signup and view all the answers
What does a console refer to in computing?
Signup and view all the answers
What is dot pitch?
Signup and view all the answers
What is DSL?
Signup and view all the answers
What is an encoding scheme?
Signup and view all the answers
What is a function in programming?
Signup and view all the answers
What is hardware?
Signup and view all the answers
What is a high-level programming language?
Signup and view all the answers
What is indentation in programming?
Signup and view all the answers
Typing a statement at the >>> prompt and executing it is called running Python in _________________
Signup and view all the answers
What does an interpreter do?
Signup and view all the answers
What does IDLE stand for?
Signup and view all the answers
What is a line comment?
Signup and view all the answers
What is a logic error?
Signup and view all the answers
What is a low-level language?
Signup and view all the answers
What is machine language?
Signup and view all the answers
What is memory in computing?
Signup and view all the answers
What does a modem do?
Signup and view all the answers
What is a module in programming?
Signup and view all the answers
What is a motherboard?
Signup and view all the answers
What is a network interface card (NIC)?
Signup and view all the answers
What is an operating system (OS)?
Signup and view all the answers
What is a pixel?
Signup and view all the answers
Writing programs is called _______________
Signup and view all the answers
What is resolution in computing?
Signup and view all the answers
What is a runtime error?
Signup and view all the answers
What is software?
Signup and view all the answers
What is source code?
Signup and view all the answers
Study Notes
Python Basics Flashcards
-
Word.py: File extension for Python script files.
-
Assembler: Software that translates assembly language programs into machine code.
-
Assembly Language: A low-level programming language using mnemonics for machine language instructions.
-
Bit: The smallest unit of data in computing, representing a binary value of 0 or 1.
-
Bus: Subsystem for transferring data or power between computer components.
-
Byte: Unit of digital information; consists of 8 bits. Data size (e.g., hard disk, memory) is measured in bytes. One megabyte is approximately a million bytes.
-
Cable Modem: Device using a TV cable line which provides speeds comparable to DSL.
-
Calling a Function: The process of invoking or executing a function in programming.
-
CPU (Central Processing Unit): Silicon chip with millions of transistors that executes instructions.
-
Comment: Documentative text in code, ignored by the compiler, explaining program structure.
-
Compiler: Software that translates source code into machine language.
-
Console: Text entry and display interface for a computer.
-
Dot Pitch: Measurement of the distance between pixels on a display.
-
DSL (Digital Subscriber Line): Technology using phone lines, capable of speeds up to 20 times faster than a standard modem.
-
Encoding Scheme: Set of rules for translating characters, numbers, and symbols into computer-readable data.
-
Function: A block of code designed to perform specific actions.
-
Hardware: Physical components of a computer that can be physically observed.
-
High-Level Programming Language: Programming languages that are easy to read and write, resembling English.
-
Indentation: Use of spaces or tabs to improve code readability.
-
Interactive Mode: Running Python by typing commands at the >>> prompt for immediate execution.
-
Interpreter: Programming tool that processes and executes one statement after another from the source code.
-
IDLE: Integrated Development and Learning Environment for writing and testing Python code.
-
Line Comment: Comment in the code that follows a pound sign (#) on the same line.
-
Logic Error: A coding mistake that leads to incorrect program output.
-
Low-Level Language: Programming languages that are closely aligned with machine language and are machine dependent (e.g., assembly language).
-
Machine Language: Binary-coded instructions native to a computer's processor.
-
Memory: Component that stores data and program instructions for the CPU.
-
Modem: Device that connects to a phone line, transferring data at speeds up to 56,000 bits per second.
-
Module: Text file containing reusable Python code, also known as a script or source file.
-
Motherboard: Main circuit board connecting all computer parts.
-
NIC (Network Interface Card): Hardware for connecting a computer to a local area network (LAN).
-
Operating System (OS): Software that manages computer activities (e.g., Windows, Linux).
-
Pixel: Smallest element of an image displayed on a screen.
-
Programming: The act of writing computer programs.
-
Resolution: Indicates the number of pixels displayed per square inch.
-
Runtime Error: An error during program execution that leads to abnormal termination.
-
Software: Invisible instructions that control hardware operation.
-
Source Code: Human-readable instructions that make up a program.
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.
Description
Test your knowledge with this collection of flashcards from Chapter 1 of Python. Each card features key terms and their definitions, helping you grasp fundamental programming concepts. Mastering these terms is crucial for your journey in Python programming.