QUESTION IMAGE
Question
- what is the computational model used in basic programming? (2 pts)
a. concurrent
b. sequential
c. math
d. parallel
- by tradition, names of variables should be... (2 pts)
a. first letter of each word is capitalized
b. first letter of each word is capitalized except for the first word
c. all upper case
d. all lower case
- how many bytes does an int variable take up? (2 pts)
a. 2
b. 4
c. 8
d. 16
Brief Explanations
- In basic programming, the sequential computational model is common where instructions are executed one - after - another. Concurrent and parallel models involve multiple tasks executing simultaneously or in parallel, and "math" is not a typical computational model for basic programming.
- By convention in many programming languages, variable names follow a naming convention where the first letter of each word is capitalized except for the first word (camelCase).
- In most common programming environments and architectures, an
intvariable typically takes 4 bytes of memory.
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
- b. sequential
- b. First letter of each word is capitalized except for the first word
- b. 4