




Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





Python, Java, and C: are examples of ___________. A) An operating system B) Networking/security software C) Applications software D) Programming languages - answer ✅✅D) Programming languages Which of the following will print I'VE GOT THIS on the screen? A) print ("I've got this") B) print (I've got this) C) print ("I'VE GOT THIS") D) print = I've got this - answer ✅✅C) print ("I'VE GOT THIS") Which type of punctuation follows the print function?
A) Apostrophe B) Colon C) Parentheses D) Semicolon - answer ✅✅C) Parentheses Computer programmers must be fluent in every programming language. True False - answer ✅✅False Look at the following Python code: word1 = "Umpire" print (word1[1]) Which character will be indexed from word1 and printed to the screen? A) U B) m C) p
B) dob = input("Hello! When is your birthday?") C) dob = question("Hello! When is your birthday?") D) dob = value("Hello! When is your birthday?") - answer ✅✅B) dob = input("Hello! When is your birthday?") When a user responds to a prompt, their response is known as _____. A) Input B) Output C) Text D) Value - answer ✅✅NOT B) Output If programming code contains a logic error, you will receive an error message. True False - answer ✅✅False Pseudocode is real, authentic code. True False - answer ✅✅False
How do today's programmers tell a computer how to perform certain tasks? A) They design manuals for users to read and follow B) They manually turn gears, flip switches, and attach wires C) They send text (SMS) messages from smart devices D) They write code that translates commands to binary code - answer ✅✅D) They write code that translates commands to binary code In programming, what is a string? A) A cable connecting computer hardware with the code it needs to operate B) A sequence of letters, numbers, spaces, and symbols C) A short, written statement that prints the code in a text (SMS) message D) A thread linking a programming language to the computer software - answer ✅✅B) A sequence of letters, numbers, spaces, and symbols
What is one example of how the construction industry used computer programming to solve an issue? A) Created mock-ups of buildings B) Developed safety equipment C) Invented cranes D) Tracked plant growth - answer ✅✅A) Created mock-ups of buildings Which of the following is an example of a syntax error? A) Missing quotation marks around a string literal B) Printing without adjusting margins C) Receiving unexpected results from a program D) Trying to perform an invalid calculation - answer ✅✅A) Missing quotation marks around a string literal The programming language C: uses a series of 1s and 0s to communicate with the computer. True False - answer ✅✅False
High-level programming languages communicate with computers by A) interpreting or compiling program code B) sending text messages to specific computers C) translating machine code into program code D) using Morse code and encrypted messages - answer ✅✅NOT C) translating machine code into program code