Study sets, textbooks, questions
Upgrade to remove ads
Chapter 1 - Introduction (Python)
Terms in this set (38)
What are computers good for?
For repetitive tasks
tells a computer a sequence of steps needed to fulfill a task
The physical computer and peripheral devices
the programs the computer executes
the act of designing and implementing computer programs
Central Processing Unit (CPU)
The "heart" of a computer that performs program control and data processing. Carries out arithmetic operations and fetches data from external memory.
What are the two types of storage?
Made from memory chips to store data when supplied with electric power
Secondary storage (hard disk)
Provides slower and less expensive storage that persists without electricity.
What does a hard disk consist of?
Rotating platters coated in a magnetic material and read/write heads, which can detect and change the magnetic flux on the platters.
Where are data and programs saved on a computer?
the secondary storage. This is then loaded into memory when the program is started and modified data sent back to secondary storage.
an interconnected set of computers
high-level programming languages
Languages that allow a programmer to specify the desired program actions at a high level that are automatically translated into the more detailed instructions required by the CPU.
Who invented Python?
Guido van Possum in the early 1990s
What are the two most important benefits of Python?
- Simple and easy to use
- Portable between computer systems and various OSs
-Easy to test in an interactive environment
Integrated development environment
A place to write and test programs
A program that functions like a word processor to enter Python/coding instructions
A place to execute a program
How to print something in Python 3?
What is an interpreter?
Something that reads a program and executes all of its steps
something that can contain files as well as other folders/directories
the interface for working in an interactive mode
the prompt. (Indicates that you can enter instructions)
Reads the file containing the source code and translates them into byte code
the instructions written by the programmer
very simple instructions that are understood by the virtual machine
a separate program that is similar to the CPU of a computer
line of code
(ex. print() )
a piece of writing not to be executed by the machine. In python these are noted with "#"
A collection of programming instructions that carry out a particular task
Any value the function needs to carry out its task. Always enclosed in parentheses
a sequence of characters enclosed in quotation marks.
How do you separate values in Python?
What will print() create if entered into the console
" " (a blank space)
When something is wrong based on the rules of the language.
When an instruction is syntactically correct, but is impossible to perform.
Any error that occurs when the program compiles and runs, but produces unexpected results
Program runs, but does the wrong thing
Sets found in the same folder
Python Variable Types
Python - Conditionals & Control Flow
Sets with similar terms
PYTHON - Introduction - Morgan
computer science chapter 1
CS 0007 Ch. 1
Computer Science Chapter 1
Other sets by this creator
Twi - Stative Verbs
Twi - Verbs (Part 2)
Twi - Verbs (Part 1)
Twi - Pronouns
Other Quizlet sets
Anthro Exam 3
Biology Final Review: Genetics
Registry Review Exam #6 & 6A
Question 113.0 What does your Internet browser do with the SSL certification it receives from a website?
The rpm command is used to manage RPM packages on Red Hat-derived distributions. What are the primary options available for Red Hat Package Manager (RPM) to keep software current? (Choose all that apply)
You just took a picture with your phone and it is 4.5 Megabytes in size. Is your photo 4.5 million, 4.5 billion, or 4.5 trillion bytes in size?
For the observation shown below, what is the result of the IF-THEN statement?