- Study guides, Class notes & Summaries
Looking for the best study guides, study notes and summaries about ? On this page you'll find 8 study documents about .
8 results
Exam (elaborations)
CS 1315 Certification Questions and CORRECT Answers
OfficeThe instructor's office is located in CCB 255 
Office HoursThe instructor's office hours are on Tuesdays from 1:00 PM to 3:00 PM 
Python LanguagePython is a programming language created by Guido van Rossum in 
the early 1990s 
- Python was designed to be optimized for large programs that needed to be compiled 
Python SyntaxPython has a simple and clean syntax that makes it easy to read and write 
code 
Python InterpreterPython uses an interpreter to read and execute programs 
High-leve...
Exam (elaborations)
CS 1315 Certification Questions and CORRECT Answers
PopularOfficeThe instructor's office is located in CCB 255 
Office HoursThe instructor's office hours are on Tuesdays from 1:00 PM to 3:00 PM 
Python LanguagePython is a programming language created by Guido van Rossum in 
the early 1990s 
- Python was designed to be optimized for large programs that needed to be compiled 
Python SyntaxPython has a simple and clean syntax that makes it easy to read and write 
code 
Python InterpreterPython uses an interpreter to read and execute programs 
High-leve...
Exam (elaborations)
CS 1315 UPDATED Questions and CORRECT Answers
Strings text w/quotation marks 
str(6) converts 
Floats have a decimal point 
float(7)= 7.0 
-to get a float as a result use one float in the problem 
-ex:2.0*2 
4.0 
Integers int(8.0)= 8 
do not have a decimal point 
ex:2 
Exponent **
Exam (elaborations)
CS 1315 TOP Study Guide Questions and CORRECT Answers
Syntaxthe set of rules that govern how computer programs are written and interpreted. 
Case sensitivea term used to describe programming languages in which capitalization 
matters. 
Modulorepresented by the % symbol, is an operator used in Python to return the 
remainder of a division operation. 
Stringa fancy word for text data, represented in Python by characters enclosed in 
quotation marks. 
Functionsa set of instructions that performs a specific task. 
Intshort for integer, is a data typ...
Exam (elaborations)
CS 1315 Key PASSED Questions and CORRECT Answers
y=[["cat","dog"],["fetch","meow"]]datatype: list 
result: [["cat", "dog"],["fetch","meow"]] 
()datatype: list 
result: dict_keys 
varX={}datatype: dict 
result: {} 
dict= {"A":4.0, "B": "5.5", "C":7} 
dict[4.0] #the datatype of thisERROR 
Accessing a dictionary with dict[4.0] would result in a KeyError because 4.0 is not a key in 
the dictionary {"A": 4.0, "B": "5.5", "C": 7}. The keys in this dictionary are strings "A", "B", 
and "C". There is no key 4.0 ...
Exam (elaborations)
CS 1315 UPDATED Questions and CORRECT Answers
Strings text w/quotation marks 
str(6) converts 
Floats have a decimal point 
float(7)= 7.0 
-to get a float as a result use one float in the problem 
-ex:2.0*2 
4.0 
Integers int(8.0)= 8 
do not have a decimal point 
ex:2 
Exponent **
Exam (elaborations)
CS 1315 Key PASSED Questions and CORRECT Answers
y=[["cat","dog"],["fetch","meow"]]datatype: list 
result: [["cat", "dog"],["fetch","meow"]] 
()datatype: list 
result: dict_keys 
varX={}datatype: dict 
result: {} 
dict= {"A":4.0, "B": "5.5", "C":7} 
dict[4.0] #the datatype of thisERROR 
Accessing a dictionary with dict[4.0] would result in a KeyError because 4.0 is not a key in 
the dictionary {"A": 4.0, "B": "5.5", "C": 7}. The keys in this dictionary are strings "A", "B", 
and "C". There is no key 4.0 ...
Exam (elaborations)
CS 1315 TOP Study Guide Questions and CORRECT Answers
Syntaxthe set of rules that govern how computer programs are written and interpreted. 
Case sensitivea term used to describe programming languages in which capitalization 
matters. 
Modulorepresented by the % symbol, is an operator used in Python to return the 
remainder of a division operation. 
Stringa fancy word for text data, represented in Python by characters enclosed in 
quotation marks. 
Functionsa set of instructions that performs a specific task. 
Intshort for integer, is a data typ...