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

INTRODUCTION TO COMPUTER SCIENCE - D684 (PART1)CORRECT 100%

Rating
-
Sold
-
Pages
12
Grade
A+
Uploaded on
06-12-2025
Written in
2025/2026

Which type of variable represents a whole number in computer programming? String Array Integer Float - ANSWERInteger 2 What describes a named storage location that can hold values that can change? Variable Constant Identifier Operand - ANSWERVariable What is one standard rule for a variable name? The name should have an appropriate meaning. The name must start with a lowercase letter. The name must start with the type designation. The name must use hyphens between words. - ANSWERThe

Show more Read less
Institution
- D684
Module
- D684









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

Written for

Institution
- D684
Module
- D684

Document information

Uploaded on
December 6, 2025
Number of pages
12
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

INTRODUCTION TO COMPUTER
SCIENCE - D684 (PART1)CORRECT
100%
Which type of variable represents a whole number in computer programming?
String
Array
Integer
Float - ANSWERInteger

2
What describes a named storage location that can hold values that can change?
Variable
Constant
Identifier
Operand - ANSWERVariable

What is one standard rule for a variable name?
The name should have an appropriate meaning.
The name must start with a lowercase letter.
The name must start with the type designation.
The name must use hyphens between words. - ANSWERThe name should have an
appropriate meaning.

Which coding construct allows a choice between performing an action and skipping it?
Assignment
Input/output
Selection
Iteration - ANSWERSelection

What is the value of the expression a + (b / c) * d - e if a = 19, b = 6, c = 2, d = 20, and e
= 14?
65
132
226
426 - ANSWER65

What is a list?
A varying-length, ordered collection of homogeneous items that allows for easy access,
insertion, and removal
A group of related attributes stored as individual fields under a single name and treated
as a single concept

, A fixed-length collection of homogeneous items that can each be accessed by its
position
A group in which individual elements are accessed from the same end that is called the
top - ANSWERA varying-length, ordered collection of homogeneous items that allows
for easy access, insertion, and removal

How are items added to and removed from a stack?

All items can be added to or removed from any location.
All items can be accessed or changed but not easily inserted or removed.
The first item to be added becomes the first item removed.
The item removed is the one that has been in the shortest time. - ANSWERThe item
removed is the one that has been in the shortest time.

The collection of customers for a small business is stored in such a way that a customer
can be easily accessed, deleted, or added. What is the data structure called for in this
programming situation?

Queue
Record
Stack
List - ANSWERList

What describes a reference parameter?
Stops the content of the argument from changing anywhere in the program
Passes a copy of the content in an argument to the function
Allows the user to type in the content of an argument at runtime
Passes the address, rather than the content, of the argument to the function -
ANSWERPasses the address, rather than the content, of the argument to the function

The code shows a subprogram and a call to that subprogram.
my_function(num_a)
num_c = process(num_a)
store(num_c)num_b = my_function(num_d)

Which variable name represents an argument?
num_a
num_b
num_c
num_d - ANSWERnum_d

What does the object-oriented programming paradigm do to solve a programming
problem?
Uses the structures of logic to deduce the answer from the facts and rules
Enforces a specific type on each variable and strict rules about how types are used
Organizes a program into smaller components that bundle together fields and methods
£12.73
Get access to the full document:

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


Also available in package deal

Get to know the seller

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.
shantelleG West Virgina University
Follow You need to be logged in order to follow users or courses
Sold
603
Member since
2 year
Number of followers
368
Documents
17792
Last sold
1 day ago
GOLD PREMIUM

HELLO? welcome to my store thanks for visiting this page here you are guaranteed of well revised and assured EXAMS ALL GRADED A+ thus making your education journey easy and seamless . DO NOT HESITATE TO CONTACT ME IF YOU ARE IN NEED OF ANY EXAM .I AM READY 24/7 TO ASSIST YOU ALSO REFER YOUR FRIENDS.

4.1

114 reviews

5
69
4
10
3
21
2
2
1
12

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 exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight 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 smashed it. It really can be that simple.”

Alisha Student

Frequently asked questions