CSCI 1103 PROGRAMMING EXAM WITH
CORRECT ACTUAL QUESTIONS AND
CORRECTLY WELL DEFINED ANSWERS
LATEST ALREADY GRADED A+
string literal - ANSWERS-A string literal must be enclosed in
either single or double quotes "string" -or- 'strings'
\n - ANSWERS-Newline character
Whitespace - ANSWERS-any tab, space, indent or newline is
whitespace
input() - ANSWERS-reads input from user wont continue the
program until input is read
String - ANSWERS-anything that is in quotes example is
"ab!%&##" is a string
, type - ANSWERS-strings, integers, floats etc are all types of
data ex. 1 is in integer '1' is a string and 1.0 is a float
Syntax error - ANSWERS-an error in syntax
Runtime error - ANSWERS-Can be caused when trying to
perform impossible tasks like multiplying strings together
Crash - ANSWERS-abrupt end/ unexpected end of a program
Bug - ANSWERS-Part of a program that does not work
correctly. Originated from a moth being stuck in a switch
supercomputer in 1947
IDE - ANSWERS-Integrated Development Environment
Bits - ANSWERS-Represented as binary digits so 0 and 1
processors - ANSWERS-were created to process (or execute)
a list of desired calculations, each called an instruction.
CORRECT ACTUAL QUESTIONS AND
CORRECTLY WELL DEFINED ANSWERS
LATEST ALREADY GRADED A+
string literal - ANSWERS-A string literal must be enclosed in
either single or double quotes "string" -or- 'strings'
\n - ANSWERS-Newline character
Whitespace - ANSWERS-any tab, space, indent or newline is
whitespace
input() - ANSWERS-reads input from user wont continue the
program until input is read
String - ANSWERS-anything that is in quotes example is
"ab!%&##" is a string
, type - ANSWERS-strings, integers, floats etc are all types of
data ex. 1 is in integer '1' is a string and 1.0 is a float
Syntax error - ANSWERS-an error in syntax
Runtime error - ANSWERS-Can be caused when trying to
perform impossible tasks like multiplying strings together
Crash - ANSWERS-abrupt end/ unexpected end of a program
Bug - ANSWERS-Part of a program that does not work
correctly. Originated from a moth being stuck in a switch
supercomputer in 1947
IDE - ANSWERS-Integrated Development Environment
Bits - ANSWERS-Represented as binary digits so 0 and 1
processors - ANSWERS-were created to process (or execute)
a list of desired calculations, each called an instruction.