- Study guides, Class notes & Summaries
Looking for the best study guides, study notes and summaries about ? On this page you'll find 122 study documents about .
122 results
Exam (elaborations)
Python Final Exam Questions and Answers 100% Pass
Python Final Exam Questions and 
Answers 100% Pass 
A(n) __________ program translates a high-level language program into a separate 
machine language program. 
translator 
assembler 
compiler 
utility - Correct Answer️️ -compiler 
The rules that must be followed when writing a program are called __________. 
operators 
punctuation 
syntax 
key words - Correct Answer️️ -syntax 
The __________ translates an assembly language program to a machine language 
program. 
assembler 
translatorLe...
Exam (elaborations)
Python Test 100% Correct Solved
Python Test 100% Correct Solved 
algorithm - Correct Answer️️ -A set of specific steps for solving a category of 
problems. 
bug - Correct Answer️️ -an error in a program 
comment - Correct Answer️️ -Information in a program that is meant for other 
programmers (or anyone reading the source code) and has no effect on the execution 
of the program. 
debugging - Correct Answer️️ -The process of finding and removing any of the three 
kinds of programming errors. 
exception - Correct...
Exam (elaborations)
Python Programming Exam Review 2024 Questions and Answers 100% Pass
Python Programming Exam Review 2024 
Questions and Answers 100% Pass 
forward(distance) - Correct Answer️️ -moves turtle forward distance in current 
direction 
backward(distance) - Correct Answer️️ -moves turtle backward in current direction 
circle(radius) - Correct Answer️️ -moves the turtle in a circle. Within the parentheses, 
you write the radius of the circle. 
penUp, penDown - Correct Answer️️ -controls whether or not Tracy is leaving a trail. 
What are the dimensions of ...
Exam (elaborations)
Python Exam Questions and Answers 100% Pass
Python Exam Questions and Answers 100% Pass 
Given the following string: S = "Welcome: which code results in an error? - Correct 
Answer️️ -Print(S+1) 
What is the output of the following code? 
name = 123 
if swith("a") 
print("welcome") - Correct Answer️️ -An error message 
Which statements evaluate True and without errors? (Choose all that apply.) - Correct 
Answer️️ -"The Title".istitle() 
"upper".islower() 
What is the order of precedence (from first to last) of the mat...
Exam (elaborations)
Python Computer Science Exam Questions and Answers
Python Computer Science Exam 
Questions and Answers 
*A ____ is a set of instructions that a computer follows to perform a task - Correct 
Answer️️ -Program 
The physical devices that a computer is made of are referred to as ______ - Correct 
Answer️️ -Hardware 
*The part of a program that runs the programs is called the ____ - Correct Answer️️ - 
CPU 
Today, CPU's are small chips known as _______ - Correct Answer️️ -Microprocessors 
The computer stores a program while the progr...
Exam (elaborations)
python exam 1 Questions and Answers 100% Pass
python exam 1 Questions and Answers 100% Pass 
algorithm - Correct Answer️️ -A set of specific steps for solving a category of problems 
comment - Correct Answer️️ -Text in a program that is meant for other programmers 
(or anyone reading the source code) and has no effect on the execution of the program 
high-level language - Correct Answer️️ -A programming language like Python that is 
designed to be easy for humans to read and write. 
print - Correct Answer️️ -A function used ...
Exam (elaborations)
Python Exam 1: Multiple Choice Questions with Correct Answers
Python Exam 1: Multiple Choice 
Questions with Correct Answers 
What is the informal language, used by programmers use to create models of programs, 
that has no syntax rules and is not meant to be compiled or executed? 
a. flowchart 
b. algorithm 
c. source code 
d. pseudocode - Correct Answer️️ -d. pseudocode 
A(n) ________ is a diagram that graphically depicts the steps that take place in a 
program. 
a. flowchart 
b. algorithm 
c. source code 
d. pseudocode - Correct Answer️️ -a. flo...
Exam (elaborations)
Python certification exam Questions and Answers 100% Pass
Python certification exam Questions and 
Answers 100% Pass 
strptime - Correct Answer️️ -converts string into date format 
strftime - Correct Answer️️ -function formats a date 
io - Correct Answer️️ -read from and write files 
sys - Correct Answer️️ -display error messages 
os - Correct Answer️️ -create folders 
 - Correct Answer️️ -find specific files and folders 
for separate variables with the same value (string or number) - Correct Answer️️ -== 
yes 
is no 
f - Co...
Exam (elaborations)
Final Exam - Python Coding Study Guide with Complete Solutions
Final Exam - Python Coding Study Guide 
with Complete Solutions 
What will be the result of the following Python 3 statement? temperature = "3" + "5" - 
Correct Answer️️ -' 35 ' 
What will be the output of the following code in Python 3? 
number = 6 
number = number + 4 
lucky_number = 10 * number 
print(lucky_number/number) - Correct Answer️️ -10 
What is the output of the following code in Python 3? 
print("Ozymandius"[2:4]) - Correct Answer️️ -ym 
What is the output of the...
Exam (elaborations)
Python Exam Questions and Answers 100% Pass
Python Exam Questions and Answers 100% Pass 
Which of the following statements is true about comments in coding? - Correct 
Answer️️ -Comments are a form of communication with other programmers (including 
yourself) 
In the following line of Python code, what is the argument to the input function? 
user_status = input("How are you today?") - Correct Answer️️ -"How are you today?" 
Which symbol is used to assign a value to a variable in Python? - Correct Answer️️ -= 
Which of the ...
Exam (elaborations)
Python Exam 2 Questions and Answers
Python Exam 2 Questions and Answers 
If a file with the specified name already exists when the file is opened and the file is 
opened in 'w' mode, then an alert will appear on the screen. - Correct Answer️️ -False 
When a piece of data is read from a file, it is copied from the file into the program - 
Correct Answer️️ -false 
closing a file disconnects the communication between the file and the program - Correct 
Answer️️ -true 
In python, there is nothing that can be donee if the...
Exam (elaborations)
Python test 1 study guide A with Complete Solutions
Python test 1 study guide A with 
Complete Solutions 
Flowcharts - Correct Answer️️ -Graphically depict the logical steps to carry out a task 
and show how the steps relate to each other (Makes the logic easier to follow) 
Pseudocode - Correct Answer️️ -Uses English-like phrases with some Python terms to 
outline the task 
(Allows the programmer to focus on the steps required to solve a problem rather than 
on how to use the computer language) 
Hierarchy charts - Correct Answer️️ -Sh...
Exam (elaborations)
Python MIS Exam Questions and Answers
Python MIS Exam Questions and Answers 
Booleans can only be 
-true false 
-numbers 
-letters - Correct Answer️️ -True and False 
What symbol would you use to see if two things are equal to each other? 
- > 
- == 
- = 
- != - Correct Answer️️ -== 
What letter do we put in front of a String if we want to put variables in it? 
-f 
-s 
-j 
-x - Correct Answer️️ -f 
Which of the following is an Int? 
-hello 
-43 
-43.3 - Correct Answer️️ -43 
it is a whole number 
Which of the foll...
Exam (elaborations)
Final Python (Test 1) 100% Correct Solved
Final Python (Test 1) 100% Correct Solved 
A(n) _______ structure is a logical design that controls the order in which a set of 
statements execute. - Correct Answer️️ -control 
Multiple Boolean expressions can be combined by using a logical operator to create 
_____ expressions. - Correct Answer️️ -compound 
When using the ______ logical operator, one or both of the value subexpressions must 
be true for the compound expression to be true. - Correct Answer️️ -or 
Which logical opera...
Exam (elaborations)
python exam 2 questions and answers
python exam 2 questions and answers 
if you were writing your source code in the JavaScript programming language, what file 
extension would you use to save your file? - Correct Answer️️ -.js 
What is the standard extension to use for a python code file? - Correct Answer️️ -.py 
if you were developing an application for an iPhone, which IDE would you use? - 
Correct Answer️️ -XCode 
Which IDE feature allows you to get code suggestions while you are typing? - Correct 
Answer️️ -In...
Exam (elaborations)
python exam #2 questions and answers 100% correct
python exam #2 questions and answers 100% correct 
Functions - Correct Answer️️ -group of statements that exist within a program for the 
purpose of performing a specific task 
Divide and conquer - Correct Answer️️ -Instead of writing 1 large program, break it 
down into individual tasks. 
individuals or teams can works independently on separate tasks. 
Advantages of divide and conquer - Correct Answer️️ -Simpler for programmers 
code reuse 
better testing 
faster development 
void f...
Exam (elaborations)
Python Final Exam Questions and Answers 100% pass
Python Final Exam Questions and Answers 100% pass 
Output file - Correct Answer️️ -a file that data is written to 
Input file - Correct Answer️️ -a file that data is read from 
Three steps when a program uses a file - Correct Answer️️ -Open the file 
Process the file 
Close the file 
Text file - Correct Answer️️ -contains data that has been encoded as text 
Binary file - Correct Answer️️ -contains data that has not been converted to text 
Sequential access - Correct Answer️...
Exam (elaborations)
BUS104 Python Exam Questions and Answers 100% Pass
BUS104 Python Exam Questions and Answers 100% Pass 
Python interpreter - Correct Answer️️ -The Python interpreter is a computer program 
that executes code written in the Python programming language. 
What is the difference between code and a program? - Correct Answer️️ -Code is a 
set of instructions, while a program is a collection of code that performs a specific task. 
What is computational thinking, and why is it essential in coding? - Correct Answer️️ - 
Computational thinking ...
Exam (elaborations)
Python Exam Questions and Answers
Python Exam Questions and Answers 
a program is a(n) _____ that a computer follows to perform a task - Correct Answer️️ - 
set of instructions 
what term refers to the physical devices or components of which a computer is made - 
Correct Answer️️ -hardware 
what part of the computer actually runs programs - Correct Answer️️ -CPU 
what part of the computer serves as a work area to store program and its data while the 
program is running - Correct Answer️️ -main memory 
what part o...
Exam (elaborations)
Python Exam Questions and Answers
Python Exam Questions and Answers 
Which of the following is correct about Python? 
a. Python is a high-level, interpreted, interactive and object-oriented scripting language. 
b. Python is designed to be highly readable. 
c. It uses English keywords frequently where as other languages use punctuation, and it 
has fewer syntactical constructions than other languages. 
d. All of the above - Correct Answer️️ -d. All of the above. 
Is Python case sensitive when dealing with identifiers? 
a. yes...