• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 1 out of 3 pages
Exam (elaborations)

Coding Final Exam | UPDATED 2024 | RATED A+

Document preview thumbnail
Preview 1 out of 3 pages

Coding Final Exam | UPDATED 2024 | RATED A+ Which of the following is NOT an output device? - Camera What is the CPU? - The central processing unit, it acts as the brain of the computer and carries out commands. Instructions written in code that a computer follows are called: - Program The programs that run on a computer are called: - Software A name given to a spot in memory is called: - Variable Which of the following is NOT a legal variable name? - %information What is output by the following? print ("she sells nseashells") print ("by the seashore") - she sells seashells by the seashore What is output by the following? print ("/") print ("/") - / / ___________ is what we use to communicate day to day. - Natural Language What is output by the following? Assume the user enters Sally and John. x = input ("What is your name? ") y = input ("What is your friend's name? ") print ("Hi " + x + " and " + y) - Hi Sally and John Which of the following terms means "storing a value in a variable"? - Assignment Consider the following code: x = 17 y = 5 print (x % y) What is output? - 2 Which variable name is the best to hold the area of a rectangle? - area What is output? x = 2 y = 3 print (x * y + 2) - 8 Which of the following calculations would evaluate to 12? - 3 * ((6 + 2) /2) What is the output for the following? x = 7 print ("The number is: " + str(x * 2)) - The number is: 14 Which of the following correctly stores 45 squared in the variable x? - x = 45 x = x ** 2 Consider the following code: x = 9 y = -3 z = 2 print ((x + y) * z) What is output? - 12 What is output? print (3 % 15) - 3 Consider the following: calc = 3 * 5 + 4 ** 2 - 1 What is the base for the exponent? - 4 What is an IF statement used for? Select all that apply. - Make True/ False decisions Select between


Document information

Uploaded on
December 21, 2023
Number of pages
3
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers
$11.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
STUVEX
3.8
(123)
Sold
834
Followers
314
Items
16233
Last sold
15 hours ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions

Whoops! We can’t load your doc right now. Try again or contact support.