coursera week 2 quiz
Index
=>
coursera week 2 quiz
Quiz
When Python is running in the interactive mode and displaying the chevron prompt (>>>) - what question is Python asking you?
? What is your favourite color?? What Python script would you like me to run?? What would you like to do?? What is the next machine language instruction to run?
What will the following program print out: >>> x = 15
>>> x = x + 5
>>> print(x)
? 20? 5? 15? x + 5
Python scripts (files) have names that end with:
? .png? .exe? .doc? .py
Which of these words are reserved words in Python ?
? concat? machine? todo? if? break
What is the proper way to say “good-bye” to Python?
? #EXIT? while? // stop? quit()
Which of the parts of a computer actually executes the program instructions?
? Input/Output Devices? Secondary Memory? Central Processing Unit? Main Memory
What is "code" in the context of this course?
? A set of rules that govern the style of programs? A way to encrypt data during World War II? A sequence of instructions in a programming language? A password we use to unlock Python features
A USB memory stick is an example of which of the following components of computer architecture?
? Main Memory? Output Device? Secondary Memory? Central Processing Unit
What is the best way to think about a "Syntax Error" while programming?
? The computer is overheating and just wants you to stop to let it cool down? The computer did not understand the statement that you entered? The computer needs to have its software upgraded? The computer has used GPS to find your location and hates everyone from your town
Which of the following is not one of the programming patterns covered in Chapter 1?
? Repeated Steps? Conditional Steps? Sequential Steps? Random steps
Index
=>
No comments:
Post a Comment