100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

Computer Programming Exam 1-Questions and Answers

Rating
-
Sold
-
Pages
4
Grade
A+
Uploaded on
27-03-2024
Written in
2023/2024

Computer Programming Exam 1-Questions and Answers 1. ___________ are used to translate each source code instruction into the appropriate machine language instruction. - ANSWER-Compilers 2. What statement best describes a variable and its primary purpose? A) A variable is a structured, general purpose language designed primarily for teaching programming B) A variable is a collection of eight bits. C) A variable is a named storage location in the computer's memory use for holding a piece of information D) A variable is a word that has a special meaning to the compiler E) A variable is a "line" of code in the body of a program, which may change - ANSWER-A variable is a named storage location in the computer's 3. A variable declaration announces the name of a variable that will be used in a program as well as: - ANSWER-The type of data it will be used to hold 4. This step will uncover any syntax errors in your program. - ANSWER-Compiling 5. The statements written by the programmers are called: - ANSWER-Source Code 6. Three primary activities of a program are: - ANSWER-Input, Processing and Output 7. This is a set of rules that must be followed when constructing a program. - ANSWER-Syntax 8. Which of the following is a preprocessor Directive? A) pay= hours * rate B) cin >> rate; C) // This program calculates the user's pay. D) int main () E) #Include <iostream> - ANSWER-E) #Include <iostream> 9. Which of the following is not one of the five major components of a computer system? A) Preprocessor B) The CPU (Central Processing Unit) C) Main Memory D) Input/Output device E) Secondary Storage (RAM) - ANSWER-A) Preprocessor

Show more Read less
Institution
Computer Programming
Course
Computer programming








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

Written for

Institution
Computer programming
Course
Computer programming

Document information

Uploaded on
March 27, 2024
Number of pages
4
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$8.49
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
EricMatt

Also available in package deal

Thumbnail
Package deal
Computer Programming Final Exam.
-
5 2024
$ 40.45 More info

Get to know the seller

Seller avatar
EricMatt West Governors University
View profile
Follow You need to be logged in order to follow users or courses
Sold
0
Member since
1 year
Number of followers
0
Documents
386
Last sold
-
Grade Master

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

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

Frequently asked questions