Study guides, Study notes & Summaries
Looking for the best study guides, study notes and summaries about ? On this page you'll find 42 study documents about .
Page 3 out of 42 results
Sort by
-
Python Programming Final Exam Questions With Verified Answers
- Exam (elaborations) • 30 pages • 2024
-
- R197,61
- + 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 Review Questions With Correct Answers
- Exam (elaborations) • 9 pages • 2024
-
- R207,03
- + 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 Final Exam Questions With Correct Answers
- Exam (elaborations) • 4 pages • 2024
-
- R207,03
- + 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...
-
Programming 1: Python Chapter 6 Study Guide 2024.
- Exam (elaborations) • 2 pages • 2024
-
- R178,77
- + learn more
Programming 1: Python Chapter 6 Study Guide 2024.Modular design - ANSWER A module is a logically independent unit that handles a task. Makes a large project more manageable, speeds up project, increases re-usability of software. 
 
Top-down design - ANSWER Process of repeatedly breaking large problems down into smaller modules. 
 
Function - ANSWER Modular block of code that can perform a specific task and is given a name. 
 
Function header - ANSWER The first line in a function definition where...
-
Python Programming: Chapter 6 Files and Exceptions Study Guide 2024.
- Exam (elaborations) • 2 pages • 2024
-
- R171,24
- + learn more
Python Programming: Chapter 6 Files and Exceptions Study Guide 2024.Which step creates a connection between a file and a program? - ANSWER Open the file 
 
True/False: If the last line in a file is not terminated with a n the readline method will return without a n. - ANSWER True 
 
Which method will return an empty string when it has attempted to read beyond the end of a file? - ANSWER readline 
 
Which method could be used to convert a numeric value to a string? - ANSWER str() 
 
How many ...
-
Computer Programming Python Test 2024.
- Exam (elaborations) • 5 pages • 2024
-
- R178,77
- + learn more
Computer Programming Python Test 2024.How would I tell Tracy to move forward 100 pixels? - ANSWER forward(100) 
 
When Tracy is facing right, from what location does she start drawing her circle? - ANSWER The bottom of the circle 
 
When using the circle() command, what value do we put inside the parentheses? - ANSWER The radius of the circle 
 
How far does Tracy need to move from the starting position to reach the right side of the canvas? - ANSWER 200 pixels 
 
If you want Tracy to move forwa...
-
Python Programming Lots Final Test 2024.
- Exam (elaborations) • 4 pages • 2024
-
- R184,42
- + learn more
Python Programming Lots Final Test 2024. 
def function_name() - ANSWER defining a function in Python. Must be above all instances of calling the function. Only happens once. 
 
and - ANSWER The Boolean operator that returns true ONLY if BOTH of its operands are true. 
 
or - ANSWER The Boolean operator that returns true if EITHER of its operands are true 
 
not - ANSWER The Boolean operator that returns true if its single operand is false (like the ! in != but for Boolean variables like this->...
-
Module 4 - Python Programming Questions 2024.
- Exam (elaborations) • 2 pages • 2024
-
- R180,65
- + learn more
Module 4 - Python Programming Questions 2024.Coding - ANSWER The process of creating a set of instructions for computers. 
 
Algorithm - ANSWER Step-by-step instructions to complete a task. 
 
Programming language - ANSWER A language used to give instructions to computers. 
 
Block-based coding - ANSWER A form of programming in which the code is mainly represented as blocks. Programmers code by dragging and dropping blocks. 
 
Text-based coding - ANSWER A form of programming in which the code is...
-
Python Programming Chapter 2 Advanced Test 2024.
- Exam (elaborations) • 7 pages • 2024
-
- R212,68
- + learn more
Python Programming Chapter 2 Advanced Test 2024. 
Which of the following is not true? - ANSWER An algorithm allows ambiguity. 
QUESTION 2: The programmer solves the problems of a user by expressing an algorithm in a programming language to make a program that can run on a computer. 
 
The purpose of testing a program with different combinations of data is to expose run-time and errors. - ANSWER logical 
 
Write a String constant consisting of exactly 5 exclamation marks. - ANSWER '!!!!!' 
 
Wr...
-
Python Programming: An Introduction to Computer Science John M. Zelle, Ph.D. Preliminary Second Edition Fall 2009
- Exam (elaborations) • 416 pages • 2024
-
- R527,27
- + learn more
Python Programming: 
An Introduction to Computer Science 
John M. Zelle, Ph.D. 
Preliminary Second Edition 
Fall 2009