• 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 3 out of 22 pages
Exam (elaborations)

C173 Intro To Computer Programming / Basic Constructs Of Programming / Exam Latest Update

Document preview thumbnail
Preview 3 out of 22 pages

C173 Intro To Computer Programming / Basic Constructs Of Programming / Exam Latest Update...

Content preview

C173 Intro To Computer Programming / Basic
Constructs Of Programming / Exam Latest Update




Which is a named item used to hold a value? - ANSWER Variable

What are we referring to when we talk about "Grammar" in programming? -
ANSWER A programming language's strict programming rules for structure

Think Rules

Which of the following are valid expressions?

1. num = num != 5
2. 3
3. 8 + 8
4. x = 5 + 5 * (10+) - ANSWER 2. 3
3. 8+8

Which are assignment statements?

x=x*2
x=x+2
x >= 1
x == 1
x=1
x <= 1 - ANSWER X= X * 2
X= X + 2
X=1

,What type of data is being used?

"true" - ANSWER String - Because of the quotations

What type of data is being used?

7 - ANSWER Integer

What type of data is being used?

true - ANSWER Boolean

What type of data is being used?

7.0 - ANSWER Float

What type of data is being used?

"7" - ANSWER String

What type of data is being used?

"7.0" - ANSWER string

Grace's website asks users to confirm that they agree to the use of cookies
and then records their answer. Which type of data is best suited to hold this
confirmation?

boolean
string
float
integer - ANSWER Boolean

Which type of data holds only whole number values?

string
boolean
float
integer
array - ANSWER Integer

, Which type of data holds decimal values?

string
boolean
float
integer
array - ANSWER Float

Which type of data holds a sequence of characters?

array
string
float
boolean
integer - ANSWER String

Which type of data holds an ordered list of items?

string
boolean
integer
array
float - ANSWER Array

Which type of data holds only two possible values?

boolean
array
integer
string
float - ANSWER Boolean

Which operator evaluates the remainder of division?

//
%
/
*
+ - ANSWER %

Document information

Uploaded on
October 26, 2026
Number of pages
22
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$19.49

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.
Zayla
3.3
(19)
Sold
157
Followers
13
Items
18146
Last sold
4 days 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