CS101 Exam 1questions and answers Graded A+
CS101 Exam 1questions and answers Graded A+ variables - first character _ A-Z a-z, other characters those and also 0-9 keep next print output on same line - print('abc', end=' ') separator - print('abc', 123, sep='-') output: abc-123 newline - n ValueError - An invalid value is used. Ex: giving letters to an int() NameError - The program tries to use a variable that does not exist. TypeError - An operation uses incorrect types. (adding an int to a string) Logic Errors - bugs
Document information
- Uploaded on
- April 8, 2026
- Number of pages
- 10
- Written in
- 2025/2026
- Type
- Exam (elaborations)
- Contains
- Questions & answers