Python programming stuvia Samenvattingen, Aantekeningen en Examens
Op zoek naar een samenvatting over Python programming stuvia? Op deze pagina vind je 6 samenvattingen over Python programming stuvia.
Alle 6 resultaten
Sorteer op
-
Python Programming Final Exam Questions With Verified Answers
- Tentamen (uitwerkingen) • 30 pagina's • 2024
-
- $10.49
- + meer info
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
- Tentamen (uitwerkingen) • 14 pagina's • 2024
-
- $10.49
- + meer info
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
- Tentamen (uitwerkingen) • 9 pagina's • 2024
-
- $10.99
- + meer info
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
- Tentamen (uitwerkingen) • 14 pagina's • 2024
-
- $11.49
- + meer info
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
- Tentamen (uitwerkingen) • 9 pagina's • 2024
-
- $10.49
- + meer info
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...
Extra geld verdienen doe je zo!
-
Python Programming Final Exam Questions With Correct Answers
- Tentamen (uitwerkingen) • 4 pagina's • 2024
-
- $10.99
- + meer info
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...
Wist je dat een verkoper gemiddeld €76 per maand verdient met het verkopen van samenvattingen? Hint, hint. Ontdek alles over verdienen op Stuvia