Grade Master
On this page, you find all documents, package deals, and flashcards offered by seller EricMatt.
- 386
- 0
- 78
Community
- Followers
- Following
465 items
Python Programming Chapter 2 Summary-Questions and Answers
Python Programming Chapter 2 Summary-Questions and Answers 
 
Steps to writing a program - ANSWER-1. Problem Analysis: Studying the problem to be solved 
2. Program Specification: Deciding exactly what the program will do. 
3. Design: Writing an algorithm in pseudocode. 
4. Implementation: Translating the design into a programming language. 
5. Testing/Debugging: Finding and fixing errors in the program. 
6. Maintenance: Keeping the program up to date with evolving needs. 
 
IPO - ANSWER-Many si...
- Exam (elaborations)
- • 2 pages •
Python Programming Chapter 2 Summary-Questions and Answers 
 
Steps to writing a program - ANSWER-1. Problem Analysis: Studying the problem to be solved 
2. Program Specification: Deciding exactly what the program will do. 
3. Design: Writing an algorithm in pseudocode. 
4. Implementation: Translating the design into a programming language. 
5. Testing/Debugging: Finding and fixing errors in the program. 
6. Maintenance: Keeping the program up to date with evolving needs. 
 
IPO - ANSWER-Many si...
Python Computer Science Exam-Questions and Answers 100%Correct
Python Computer Science Exam-Questions and Answers 100%Correct 
 
*A ____ is a set of instructions that a computer follows to perform a task - ANSWER-Program 
 
The physical devices that a computer is made of are referred to as ______ - ANSWER-Hardware 
 
*The part of a program that runs the programs is called the ____ - ANSWER-CPU 
 
Today, CPU's are small chips known as _______ - ANSWER-Microprocessors 
 
The computer stores a program while the program is running, as well as the data that the...
- Package deal
- Exam (elaborations)
- • 8 pages •
Python Computer Science Exam-Questions and Answers 100%Correct 
 
*A ____ is a set of instructions that a computer follows to perform a task - ANSWER-Program 
 
The physical devices that a computer is made of are referred to as ______ - ANSWER-Hardware 
 
*The part of a program that runs the programs is called the ____ - ANSWER-CPU 
 
Today, CPU's are small chips known as _______ - ANSWER-Microprocessors 
 
The computer stores a program while the program is running, as well as the data that the...
Python Test 1 Practice-Questions and Answers Graded A+
Python Test 1 Practice-Questions and Answers Graded A+ 
 
A(n) __________ is a set of instructions that a computer follows to perform a task. 
1. compiler 
2. program 
3. interpreter 
4. programming language - ANSWER-program 
 
The physical devices that a computer is made of are referred to as . 
1. hardware 
2. software 
3. the operating system 
4. tools - ANSWER-hardware 
 
The part of a computer that runs programs is called . 
1. RAM 
2. secondary storage 
3. main memory 
4. the CPU - ANSWER-...
- Package deal
- Exam (elaborations)
- • 11 pages •
Python Test 1 Practice-Questions and Answers Graded A+ 
 
A(n) __________ is a set of instructions that a computer follows to perform a task. 
1. compiler 
2. program 
3. interpreter 
4. programming language - ANSWER-program 
 
The physical devices that a computer is made of are referred to as . 
1. hardware 
2. software 
3. the operating system 
4. tools - ANSWER-hardware 
 
The part of a computer that runs programs is called . 
1. RAM 
2. secondary storage 
3. main memory 
4. the CPU - ANSWER-...
Python Basics-Questions and Answers
Python Basics-Questions and Answers 
 
What does it mean when it is said that python is strongly typed? -ANSWER-The language restricts how many different types can interact. Every change of type requires an explicit conversion. 
 
What does it mean when it is said that python is a dynamic language? -ANSWER-values stored by variables have types while the variable itself does not. 
 
what is the difference between keywords and reserved words? -ANSWER-Keywords are a type of reserved words that serv...
- Package deal
- Exam (elaborations)
- • 3 pages •
Python Basics-Questions and Answers 
 
What does it mean when it is said that python is strongly typed? -ANSWER-The language restricts how many different types can interact. Every change of type requires an explicit conversion. 
 
What does it mean when it is said that python is a dynamic language? -ANSWER-values stored by variables have types while the variable itself does not. 
 
what is the difference between keywords and reserved words? -ANSWER-Keywords are a type of reserved words that serv...
Python Essentials | Part 1 Summary Test-Questions and Answers
Python Essentials | Part 1 Summary Test-Questions and Answers 
1. Which of the following lines incorrectly. invokes the function defines as: 
def fun (a, b, c=0) : - ANSWER-fun ( 
 
2. What is the output of the following snippet? 
list = [x * x for x in range (5) ] 
def fun (1st) : 
 del 1st [1st [2] ] 
 return 1st 
print (fun (list) ) - ANSWER-[ ] 
 
3. How many elements does the 1st list contain? 
1st = [i for i in range (-1, -2) ] - ANSWER-One, Two, Three, Zero 
 
4. What is the output of th...
- Package deal
- Exam (elaborations)
- • 2 pages •
Python Essentials | Part 1 Summary Test-Questions and Answers 
1. Which of the following lines incorrectly. invokes the function defines as: 
def fun (a, b, c=0) : - ANSWER-fun ( 
 
2. What is the output of the following snippet? 
list = [x * x for x in range (5) ] 
def fun (1st) : 
 del 1st [1st [2] ] 
 return 1st 
print (fun (list) ) - ANSWER-[ ] 
 
3. How many elements does the 1st list contain? 
1st = [i for i in range (-1, -2) ] - ANSWER-One, Two, Three, Zero 
 
4. What is the output of th...
PE1 Summary Test-Questions and Answers 100%Correct
PE1 Summary Test-Questions and Answers 100%Correct 
How many stars(*) will the following snippet send to the console? 
 
i = 0 
while i < i+2 : 
 i += 1 
 print("*") 
else: 
 print("*") - ANSWER-the snippet will enter an infinite loop, printing one star per line 
 
What is the output for the following piece of code? 
 
x = 1 
y = 2 
x, y, z = x, x, y 
z, y, z, = x, y ,z 
 
print(x, y, z) - ANSWER-1 1 2 
 
How many hashes(#) will the following snippet send to the console? 
 
lst = [[x for ...
- Package deal
- Exam (elaborations)
- • 5 pages •
PE1 Summary Test-Questions and Answers 100%Correct 
How many stars(*) will the following snippet send to the console? 
 
i = 0 
while i < i+2 : 
 i += 1 
 print("*") 
else: 
 print("*") - ANSWER-the snippet will enter an infinite loop, printing one star per line 
 
What is the output for the following piece of code? 
 
x = 1 
y = 2 
x, y, z = x, x, y 
z, y, z, = x, y ,z 
 
print(x, y, z) - ANSWER-1 1 2 
 
How many hashes(#) will the following snippet send to the console? 
 
lst = [[x for ...
Python For Everyone: Chapter 1 Summary-Questions & Answers 100%Verified
Python For Everyone: Chapter 1 Summary-Questions & Answers 100%Verified 
 
Define "computer program" and programming - ANSWER-...: Computers execute very basic instructions in rapid succession. 
 ...: A computer program is a sequence of instructions and decisions. 
 ...: Programming is the act of designing and implementing computer programs. 
 
Describe the components of a computer - ANSWER-...: The central processing unit (CPU) performs program control and data processing. 
 ...: Storage dev...
- Package deal
- Exam (elaborations)
- • 2 pages •
Python For Everyone: Chapter 1 Summary-Questions & Answers 100%Verified 
 
Define "computer program" and programming - ANSWER-...: Computers execute very basic instructions in rapid succession. 
 ...: A computer program is a sequence of instructions and decisions. 
 ...: Programming is the act of designing and implementing computer programs. 
 
Describe the components of a computer - ANSWER-...: The central processing unit (CPU) performs program control and data processing. 
 ...: Storage dev...
Python exam review-Questions and Answers Graded A+
Python exam review-Questions and Answers Graded A+ 
how do we add a list to a list? - ANSWER-list[2] = [1, 2, 3] 
 
how do we ad elements of a list to a list? - ANSWER-list[2:2] = [1,2,3] 
 
how do we delete elements from a list? - ANSWER-del list[1] 
 
what's another way of deleting elements from a list, besides del? - ANSWER-list[1] = [] 
 
what does 3 * [0] return? - ANSWER-[0,0,0] 
 
if you really want to copy a list, what can you do? - ANSWER-list2 = list1[:] 
 
difference between append a...
- Package deal
- Exam (elaborations)
- • 9 pages •
Python exam review-Questions and Answers Graded A+ 
how do we add a list to a list? - ANSWER-list[2] = [1, 2, 3] 
 
how do we ad elements of a list to a list? - ANSWER-list[2:2] = [1,2,3] 
 
how do we delete elements from a list? - ANSWER-del list[1] 
 
what's another way of deleting elements from a list, besides del? - ANSWER-list[1] = [] 
 
what does 3 * [0] return? - ANSWER-[0,0,0] 
 
if you really want to copy a list, what can you do? - ANSWER-list2 = list1[:] 
 
difference between append a...
Intro to Python Exam Questions:Answers Graded A+
Intro to Python Exam Questions:Answers Graded A+ 
Why are functions helpful? - ANSWER-Functions facilitate code reusability, readability, and maintenance 
 
What is "scope" in terms of programming language python? - ANSWER-Scope is the term used to describe the points at which in code variables and functions are defined. 
 
Why is there an error when trying to run this code? 
 
a=int(input()) 
b=int(input()) 
 
if c<a+b: 
print("Less than a +b:) 
 
a = b= c=1 
 
print (a,b,c) - ANSWER-The ...
- Package deal
- Exam (elaborations)
- • 23 pages •
Intro to Python Exam Questions:Answers Graded A+ 
Why are functions helpful? - ANSWER-Functions facilitate code reusability, readability, and maintenance 
 
What is "scope" in terms of programming language python? - ANSWER-Scope is the term used to describe the points at which in code variables and functions are defined. 
 
Why is there an error when trying to run this code? 
 
a=int(input()) 
b=int(input()) 
 
if c<a+b: 
print("Less than a +b:) 
 
a = b= c=1 
 
print (a,b,c) - ANSWER-The ...
Python Programming Exam Review-Questions and Answers 100%Verified
Python Programming Exam Review-Questions and Answers 100%Verified 
 
forward(distance) - ANSWER-moves turtle forward distance in current direction 
 
backward(distance) - ANSWER-moves turtle backward in current direction 
 
circle(radius) - ANSWER-moves the turtle in a circle. Within the parentheses, you write the radius of the circle. 
 
penUp, penDown - ANSWER-controls whether or not Tracy is leaving a trail. 
 
What are the dimensions of Tracy's world? - ANSWER-400 pixel tall x 400 pixels wi...
- Package deal
- Exam (elaborations)
- • 6 pages •
Python Programming Exam Review-Questions and Answers 100%Verified 
 
forward(distance) - ANSWER-moves turtle forward distance in current direction 
 
backward(distance) - ANSWER-moves turtle backward in current direction 
 
circle(radius) - ANSWER-moves the turtle in a circle. Within the parentheses, you write the radius of the circle. 
 
penUp, penDown - ANSWER-controls whether or not Tracy is leaving a trail. 
 
What are the dimensions of Tracy's world? - ANSWER-400 pixel tall x 400 pixels wi...