Python exam 1 - Study guides, Class notes & Summaries
Looking for the best study guides, study notes and summaries about Python exam 1? On this page you'll find 411 study documents about Python exam 1.
Page 4 out of 411 results
Sort by
-
python exam 1 2023 with 100% correct answers
- Exam (elaborations) • 5 pages • 2023
- Available in package deal
-
- $16.49
- + learn more
Where does a computer store a program and the data that the program is working with while the program is running? 
Main memory 
 
 
 
What is the encoding technique used to store positive and negative integers in the computer's memory? 
Two's-complement 
 
 
 
How many different values can a single byte take? 
256 
 
 
 
Which is a secondary storage device that has no moving parts, and is faster than a traditional disk drive? 
Solid state drive 
 
 
 
The CPU is able to quickly access data sto...
-
Python Exam Chapters 1-5, PART 1; Questions and Answers 100% Pass
- Exam (elaborations) • 20 pages • 2024
- Available in package deal
-
- $13.99
- + learn more
Python Exam Chapters 1-5, PART 1; Questions 
and Answers 100% Pass 
Which of the following are operators, and which are values? 
* 
'hello' 
-88.8 
- 
/ 
+ 
5 CORRECT ANSWER-The operators are +,-,*,and /. The values are 'hello' ,-88.8, and 5. 
Which of the following is a variable , and which is a string ? 
spam 
'spam' CORRECT ANSWER-The variable is spam; the string is 'spam'. Strings always start 
and end with quotes. 
Name three data types. CORRECT ANSWER-The three data types are int...
-
Python Coding Exam; Questions and Answers 100% Pass
- Exam (elaborations) • 38 pages • 2024
- Available in package deal
-
- $15.99
- + learn more
Python Coding Exam; Questions and Answers 
100% Pass 
What Python statement would you like me to run? CORRECT ANSWER-(Chapter 1) When 
Python is running in the interactive mode and displaying the chevron prompt (>>>) - what 
question is Python asking you? 
20 CORRECT ANSWER-(Chapter 1) What will the following program print out: 
>>> x = 15 
>>> x = x + 5 
>>> print x
-
ITS Python Practice Exam 1 - Python Programming questions well answered (11)
- Exam (elaborations) • 10 pages • 2024
- Available in package deal
-
- $14.99
- + learn more
ITS Python Practice Exam 1 - Python Programming questions well answered (11)
-
python exam 1 2023 with 100% correct answers
- Exam (elaborations) • 4 pages • 2023
- Available in package deal
-
- $16.49
- + learn more
What type of volatile memory is usually used only for temporary storage while running a program? 
RAM 
 
 
 
Where does a computer store a program and the data that the program is working with while the program is running? 
in main memory 
 
 
 
What is the largest value that can be stored in one byte? 
255 
 
 
 
The smallest storage location in a computer's memory is known as a 
bit 
 
 
 
The Python ________ is a program that can read Python programming statements and execute them. 
interpre...
As you read this, a fellow student has made another $4.70
-
WGU C949 DATA STRUCTURES & ALGORITHMS CHAPTERS 1-4 EXAM 2024
- Exam (elaborations) • 26 pages • 2024
-
- $11.49
- + learn more
WGU C949 DATA STRUCTURES & ALGORITHMS CHAPTERS 1-4 EXAM 2024 
 
 
In Python, there are three (3) different types of commenting styles. What are they? - correct answer In-line, Multiline, Documentation Strings (Docstrings) 
 
"Comments used to add meaning to a program and explain logic in-line with the code being discussed. These comments are good for quick explanations and are indicated by using the # character and a space. if n % 2 == 1: # n is odd" - correct answer In-line 
 
"Comments, al...
-
Python Exam Questions (1-65) , PART 1; Questions and Answers 100% Pass
- Exam (elaborations) • 9 pages • 2024
- Available in package deal
-
- $9.99
- + learn more
Python Exam Questions (1-65) , PART 1; 
Questions and Answers 100% Pass 
1. Which of the following data types are supported in Python? CORRECT ANSWER-The 
following data type are *Supported*: 
1 - Numbers 
2 - String 
3 - List 
4 - Tuples 
5 - Dictionary 
2. Which of the following data types are *not* supported in Python? CORRECT ANSWERSlice
-
ENGR 102 Exam 1 questions with Complete Solutions |100% Pass
- Exam (elaborations) • 22 pages • 2024
- Available in package deal
-
- $10.48
- + learn more
ENGR 102 Exam 1 questions with Complete Solutions 
|100% Pass 
Which of the following environment variable for Python tells the Python interpreter where to 
locate the module files imported into a program? - PYTHONPATH 
Which of the following environment variable for Python contains the path of an initialization 
file containing Python source code? - PYTHONSTARTUP 
Which of the following environment variable for Python is used in Windows to instruct Python 
to find the first case-insensitive mat...
-
CS 1101 Programming Fundamentals Final Exam Review with Complete Solutions
- Exam (elaborations) • 24 pages • 2024
-
- $9.99
- + learn more
CS 1101 Programming Fundamentals 
Final Exam Review with Complete 
Solutions 
What output will the following Python program produce? 
n = 10000 
count = 0 
while n: 
count = count + 1 
n = n / 10 
n=int(n) 
print(count) 5 
What output will the following Python commands produce? 
>>> percentage = float ( 60 * 100) / 55 
>>> print (percentage) 109. 
What does the following Python 3 function do? 
def subroutine(n): 
while n > 0: 
print (n,) 
n -= 1 Counts from n down to 1 and d...
-
ENGR 102 Exam 1 Questions and Answers with Complete Solutions |100% Pass
- Exam (elaborations) • 24 pages • 2024
- Available in package deal
-
- $12.38
- + learn more
ENGR 102 Exam 1 Questions and Answers with Complete 
Solutions |100% Pass 
What characters are allowed when using print statements in Python? (Pick all that applies) - 
letters, numbers, and underscores 
The basic types of variables in Python are _____________, floating-point, and string. - 
integers 
Which of the following are valid variable names (pick one) 
-Winner! 
-2nd_name 
-My_Name 
-Gig'Em 
-Gig-Em - My_Name (does not start with a number or _ and does not have a !,',-, or space 
How d...
How did he do that? By selling his study resources on Stuvia. Try it yourself! Discover all about earning on Stuvia