Case-Based Critical Thinking QuestionsCase 18-1Sarah wants to learn more about computer programming and the techniques used to code a program. Since there are so many different programming languages, she has decided to start by working with Python. Sarah wants to set up a scenario that requires the user to choose between two variables. She has learned that Python uses ____ as the keywords for a selection control structure.
A. IF and THEN
B. ELSE and OR
C. SAVE and PRINT
D. IF and ELSE
Answer: D
Computer Science & Information Technology
You might also like to view...
The address of a variable or object can be obtained by using:
A. the address-of operator & B. the dereference operator C. its location D. the [ ] operator
Computer Science & Information Technology
COGNITIVE ASSESSMENT Your desktop houses its system unit in a frame made of metal. What is the term for this frame?
A. CPU B. tower C. bundle D. server
Computer Science & Information Technology
?Which of the following methods of the Math operator roundsxup to the next highest integer?
A. ?Math.round(x)
B. ?Math.ceil(x)
C. ?Math.rand(x)
D. ?Math.floor(x)
Computer Science & Information Technology
Promiscuous mode will not work on a WLAN.
Answer the following statement true (T) or false (F)
Computer Science & Information Technology