





Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
A comprehensive set of questions and answers covering fundamental concepts in computing systems and programming. It explores topics such as layers of a computing system, processes, operating system kernel, hardware components, programming languages, syntax and semantics, interpreters, variables, data types, and operators. Valuable for students learning about the basics of computer science and programming.
Typology: Exams
1 / 9
This page cannot be seen from the preview
Don't miss anything!
What layer of a computing system will the programs you write exist? - Answers. ✔✔User Space Processes Which of the following is a "program in motion"? - Answers. ✔✔Process What layer of a computing system's purpose is to make it easy for you as the user to start, control, and stop the processes running on a computing system? - Answers. ✔✔Shell Which of the following kinds of shells exist? - Answers. ✔✔-Graphical User Interface
What are the three primary components of hardware we're concerned with in this course? - Answers. ✔✔-CPU
The names you define in your code exist in the globals area. - Answers. ✔✔True The best way to get back to your workspace in VSCode is through File > Open Recent. - Answers. ✔✔True The File Explorer lists the directories (folders) and files in your workspace. These are normal directories and files saved on your computer. - Answers. ✔✔True To begin a Terminal Shell, go to Terminal > New Terminal. - Answers. ✔✔True When you see >>> that your can type in, you are working in an interactive python interpreter process. - Answers. ✔✔True To begin a Python process in interactive mode, run python - m [directory].[python filename not including .py] - Answers. ✔✔False Use the built-in quit () to end an interactive Python interpreter session.
Stored Python programs typically end in what file extension suffix? - Answers. ✔✔.py To begin a Python process such that it evaluates a stored Python program, run python - m [directory].[python filename not including .py]
Which operator is used to find the remainder of an integer division calculation and results in an int typed value? - Answers. ✔✔% What is the result of evaluating the expression "A" > "b" - Answers. ✔✔False Comparing two string values using relational operators always works the way you would expect it to in the English language? - Answers. ✔✔False Which of the following relational operators tests whether two values are equal to one another? - Answers. ✔✔== What does the final variable access expression evaluate to in this sequence of statements:
x: int = 1 x = x + 1 x - Answers. ✔✔ 2 What does the final type function call evaluate to in this sequence of statements: course: str = "110"
type(int(course)) - Answers. ✔✔int What is the result of evaluating 2 +4 / 2 * 2 in Python? - Answers. ✔✔6. What is the result of evaluating the following expression in Python? 220 >= int(("1" + "1" + "0") * 2) - Answers. ✔✔False What type of value does the input function always result in? - Answers. ✔✔str The generic format of a variable declaration and initialization statement is the following: A: B = C What is A? - Answers. ✔✔The name of the variable being declared. The generic format of a variable declaration and initialization statement is the following: A: B = C What is B? - Answers. ✔✔The data type of the variable being declared. The generic format of a variable declaration and initialization statement is the following: