- Study guides, Class notes & Summaries
Looking for the best study guides, study notes and summaries about ? On this page you'll find 9 study documents about .
All 9 results
Sort by:
-
Exam (elaborations)
C859 Python Exam Questions And Answers |Latest 2025 | Guaranteed Pass.
-
---3February 20252024/2025A+
- ©THESTAR 2024/2025 ALL RIGHTS RESERVED 3:09PM. 
1 
C859 Python Exam Questions And Answers 
|Latest 2025 | Guaranteed Pass. 
f1 = open("/my_path/my_", "r") - Answerto open and read a file 
f1 = open("/my_path/my_", "w") - Answerto open and write a file (all previous 
material discarded) 
f1 = open("/my_path/my_", "a") - Answerto open and add to a file 
() - Answerread a file into a string 
("hello!") - Answerwrites to a file 
ine() - Answerreads next lin...
-
$10.99 More Info
TheStar
-
Exam (elaborations)
C859 Python Syntax
-
---4August 20242024/2025A+
- C859 Python Syntax 
Var1, var2, var3 = 1, 2, 3 - answermultiple variable assignment 
12 - answerinteger 
1.2 - answerfloat 
'twelve' - answerstring 
"twelve" - answerstring 
True or False - answerBoolean value 
type() - answerdetermines type of an object (integer, boolean, etc) 
int() - answerconverts to integer object 
float() - answerconverts to float object 
str() - answerconverts to string object 
print() - answerdisplays a message 
+ - answeraddition (integer) or concatenation (string) ...
-
$10.99 More Info
Brightstars
-
Exam (elaborations)
C859 Python
-
---3August 20242024/2025A+
- C859 Python 
f1 = open("/my_path/my_", "r") - answerto open and read a file 
f1 = open("/my_path/my_", "w") - answerto open and write a file (all previous 
material discarded) 
f1 = open("/my_path/my_", "a") - answerto open and add to a file 
() - answerread a file into a string 
("hello!") - answerwrites to a file 
ine() - answerreads next line 
() - answercloses a file (must always close a file!) 
with open("/my_file...etc) as f: - answeropens, allows work, and automatically clo...
-
$10.99 More Info
Brightstars
-
Exam (elaborations)
C859 Python Syntax
-
---4August 20242024/2025A+
- C859 Python Syntax 
int() - answerconverts to integer object 
float() - answerconverts to float object 
str() - answerconverts to string object 
print() - answerdisplays a message 
+ - answeraddition (integer) or concatenation (string) 
- - answersubtraction 
** - answerpower of 
% - answermodulus, remainder 
/ - answerdivision, always results in float 
// - answerdivision, always results in integer 
= - answerassignment operator 
+= - answerreassignment operator, adds 
-= - answerreassignment o...
-
$10.99 More Info
Brightstars
-
Exam (elaborations)
C 859: Introduction to Programming in Python
-
---5August 20242024/2025A+
- C 859: Introduction to Programming in 
Python 
Slice Notation - answermy_str[start:end] 
will create a substring from my_str index start through to end - 1 
Slice Notation with Stride - answermy_str[start:end:stride] 
Field Width - answerminimum number of characters that must be inserted into a string 
my_str='{name:16}{goals:8}' 
Alignment Character - answerdetermines how a value should be aligned within the width of 
the field 
my_str='[name:<16}{goals:>8}{points:^6}' 
Fill Character...
-
$10.99 More Info
Brightstars
-
Exam (elaborations)
C859 Python exam test 2022
-
---5July 20232022/2023A
- f1 = open("/my path/my_", "r") - to open and read a file 
f1 = open("/my_path/my_", "w") - to open and write a file 
(all previous material discarded) 
f1 = open("/my_path/my_", "a") - to open and add to a file 
() - read a file into a string 
("hello!") - writes to a file 
f1. redline) - reads next line 
() - closes a file (must always close a file!) 
with open ("/my file...etc.) as f: - opens, allows work, and 
automatically closes a file 
time delta - time library function to c...
-
$11.49 More Info
rightsteps70
-
Exam (elaborations)
C859 Python exam test 2022
-
---5July 20232022/2023A+
- pandas - data manipulation and analysis library 
 
pillow (PIL) - work with and manipulate images; python imaging library 
 
piglet - multimedia / gaming creation library 
 
pity - time zone data library 
 
pip install ____________ import _______________ - to install and import a library into your code 
 
math. Ceil() - round down (4.5 = 4, 4.8 = 4, 4.1 = 4, 4.9 = 4) 
 
math. Floor() - round up (4.6 = 5, 4.7 = 5, 4.1 = 5, 4.2 = 5) 
 
() - get today's date
-
$12.99 More Info
smartminds
-
Exam (elaborations)
C859 | Questions and Answers(A+ Solution guide)
-
--4July 20232022/2023A+Available in bundle
- computer program - instructions executing one at a time and include input, process and an outpout 
input - a program gets data, perhaps from a file, keyboard, touchscreen or network 
process - a program performs computations on data 
output - when a program puts data somewhere such as a file, screen or network so that it can be 
seen 
variable - values like x, y, or z used by a program to refer to data. It has varying values as the program 
assigns each variable with new values 
computational th...
-
$4.89 More Info
Brainarium