COSC 1436 Test 1 Review UPDATED ACTUAL Questions and CORRECT Answers
2 views 0 purchase
Course
COSC 1436
Institution
COSC 1436
COSC 1436 Test 1 Review UPDATED
ACTUAL Questions and CORRECT
Answers
The set of rules for forming sentences in a language is called the language ___________ . -
CORRECT ANSWER- syntax
A Python script is __________ . - CORRECT ANSWER- a program file that can be run
or distributed to other pe...
COSC 1436 Test 1 Review UPDATED
ACTUAL Questions and CORRECT
Answers
The set of rules for forming sentences in a language is called the language ___________ . -
CORRECT ANSWER✔✔- syntax
A Python script is __________ . - CORRECT ANSWER✔✔- a program file that can be run
or distributed to other people
Translators are used to ____________ . - CORRECT ANSWER✔✔- convert high level
program code into executable code
Which of the following outputs data when a Python program is run? - CORRECT
ANSWER✔✔- the print statement
Python program code tends to generate fewer error messages than other programming
languages because ___________ . - CORRECT ANSWER✔✔- complicated syntax is
replaced with specific indentations called "control structure"
Which of the following is an output device? - CORRECT ANSWER✔✔- Speaker
The CPU is responsible for _________ ? - CORRECT ANSWER✔✔- processing data
Which of the following is an input device? - CORRECT ANSWER✔✔- Scanner
Information is represented in hardware memory ________ . - CORRECT ANSWER✔✔- as
patterns of binary digits
An interface that accepts inputs from a keyboard and displays text output on a monitor is
called a ____________ . - CORRECT ANSWER✔✔- terminal based interface
, A _____________ organizes the monitor screen around the metaphor of a desktop. -
CORRECT ANSWER✔✔- Graphical User Interface
An algorithm has a __________ number of instructions and ________ after arriving at a
solution to its associated problem. - CORRECT ANSWER✔✔- limited, halts
In what sense is a desk top computer a general-purpose problem-solving machine? -
CORRECT ANSWER✔✔- They are capable of performing a task described by any
algorithm.
The following code will produce what output? x = 34.50001 print(round(x)) - CORRECT
ANSWER✔✔- 35
If the value of the variable X is "dog" and the value of the variable Y is "cat" what will be the
value returned by the operation: X+Y? - CORRECT ANSWER✔✔- dogcat
What data type would be used to represent the area of a circle? - CORRECT ANSWER✔✔-
float
The Python scientific notation for 123400000 would be written as? - CORRECT
ANSWER✔✔- 1.234e8
The following output is produced by what code? Output example: FirstName - CORRECT
ANSWER✔✔- print ("First\nLast")
What symbol is used to begin an end-of-line comment? - CORRECT ANSWER✔✔- a
"pound" sign #
Why is it a bad idea to skip the programming (analysis and design) in the software
development process? - CORRECT ANSWER✔✔- Because there is a lot more to software
development than writing code
If the value of the variable X is "dog" and the value of the variable Y is "cat" what will be the
value returned by the operation: X * 4? - CORRECT ANSWER✔✔- dogdogdogdog
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller MGRADES. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $10.49. You're not tied to anything after your purchase.