Python programming stuvia - Study guides, Class notes & Summaries
Looking for the best study guides, study notes and summaries about Python programming stuvia? On this page you'll find 6 study documents about Python programming stuvia.
All 6 results
Sort by
-
Python Programming Final Exam Questions With Verified Answers
- Exam (elaborations) • 30 pages • 2024
-
- $10.49
- + learn more
A(n) __________ program translates a high-level language program into a separate machine language program. 
 
 translator 
 assembler 
 compiler 
 utility - Answer compiler 
 
The rules that must be followed when writing a program are called __________. 
 
 operators 
 punctuation 
 syntax 
 key words - Answer syntax 
 
The __________ translates an assembly language program to a machine language program. 
 
 assembler 
 translator 
 compiler 
 interpreter - Answer assembler 
 
Computers...
-
Python Programming Exam Chapters 1-5 Questions With Correct Answers
- Exam (elaborations) • 14 pages • 2024
-
- $10.49
- + learn more
Which of the following are operators, and which are values? 
* 
'hello' 
-88.8 
- 
/ 
+ 
5 - 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' - Answer The variable is spam; the string is 'spam'. Strings always start and end with quotes. 
 
Name three data types. - Answer The three data types are integers, floating point numbers, and strings. 
 
What is an expression made up of ? Wha...
-
Python Programming Exam Review Questions With Correct Answers
- Exam (elaborations) • 9 pages • 2024
-
- $10.99
- + learn more
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 wide 
 
left(angle), right(angle) - Answer turns Tracy either left or r...
-
Python Programming Exam Review Questions With Verified Answers
- Exam (elaborations) • 14 pages • 2024
-
- $11.49
- + learn more
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 and extend? - Answer append adds whole argument as si...
-
Python Programming Final Exam Coding Study Guide With Complete Solution
- Exam (elaborations) • 9 pages • 2024
-
- $10.49
- + learn more
What will be the result of the following Python 3 statement? temperature = "3" + "5" - 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) - Answer 10 
 
What is the output of the following code in Python 3? 
 
print("Ozymandius"[2:4]) - Answer ym 
 
What is the output of the following code in Python 3? 
 
print(5>= 5) - Answer True 
 
What is the output of the followin...
Get paid weekly? You can!
-
Python Programming Final Exam Questions With Correct Answers
- Exam (elaborations) • 4 pages • 2024
-
- $10.99
- + learn more
name three kinds of sequences - Answer list 
tuple 
string 
 
a _________________ loop is used to iterate through a sequence - Answer for 
 
the ____________________ function is used to determine how many pairs in a dictionary or how many elements in a sequence - Answer len() 
 
an if statement is built by using if followed by a _________________, a __________________, and a ___________________ of one or more statements - Answer condition 
colon 
block 
 
name the three things that must occur fo...
That summary you just bought made someone very happy. Also get paid weekly? Sell your study resources on Stuvia! Discover all about earning on Stuvia