This page uses JavaScript. Please enable it or upgrade your browser.
Programming Concepts --ATE
1.
*
Please enter your identification number (ID), as defined by your instructor. Limit your ID to no more than 9 digits and use no spaces or dashes.
2.
*
Select the college or university where you are enrolled.
Camden County College
Community College of Philadelphia
Tompkins Cortland Community College
Other, please specify
3.
*
I am currently taking (check all that apply):
CCP: CIS 103
CCP: CIS 106
Camden: CSC-111
Camden: CSC-105
TCCC: CIS 108
TCCC: CSCI 160
TCCC: CAPS 181
Other, please specify
4.
*
For the course you selected in question 3, enter the section number. (Ask your instructor if you are uncertain.) If you are taking more than one of the courses above, enter the course number and section number for each course.
Instructions: Read each of the following questions and answers carefully. Select the BEST answer.
5.
Which of the following IS NOT used to describe a
class
?
an abstraction of a real-life object
a primitive property
a collection of properties and methods
a blueprint for creating an object
defines a particular type of object
6.
Which of the following is used to describe an
object
?
an instance of a class
another name for a class
a 3D model
an event defined in a class
another name for a method
7.
Which of the following most accurately describes a
program
, written in an object oriented programming style?
a collection of objects, all of the same type
a collection of objects of different types
a list of instructions for objects to perform certain actions
a list of instructions for classes to perform certain actions
a collection of information about instantiated objects
8.
The purpose of a comment is
code development
data storage
design
documentation and explanation
code execution
9.
In object oriented programming, methods are used to
eliminate the need for events
eliminate the need for parameters
define actions for (or on) an object
check a condition in an If/Else statement
none of the above
10.
Calling a method and sending in an object (or other information) requires that the method have at least one
loop statement
comment
parameter
event
If/Else statement
11.
Designing a complex program using stepwise refinement is most likely to result in a program consisting of a well-organized
sequence of actions in a single method
network of several distinct methods that work together
network of a single method with several events
sequence of actions that cannot be interactive
none of the above
12.
Which of the following best describes the usefulness of methods defined for a specific type of object?
writing a method that involves several objects
reusing an object and its defined methods in other programs
accessing the parts of an object within a method
writing events that involve an object
using decision-making instructions with an object
13.
Which of the following programming concepts involves creating a new class by starting with an existing class and defining new methods?
style
logic
recursion
inheritance
function
14.
In an interactive program, control of flow is determined by
the programmer, at design-time
the user, at runtime
coordination of special effects
random events
passing parameters
15.
Each property of an object is named as a(n)
variable that has a value that can be changed
variable that has a value that cannot be changed
instruction that has a value of a specific data type
instruction that has a value that can be changed
instruction that has a value that cannot be changed
16.
The expression height >= 5 evaluates to which of the following data types?
Number
Object
Boolean
String
Color
17.
In a program, a function is used to
compute and return a value
perform an animation (change the state)
handle an event
change an object's property
iterate through a list
18.
As a program is running, the collection of information (properties) known about an object is used to represent the object's
argument
parameter
event
expression
state
19.
What statement would be used in a program to make the program carry out different actions depending on condition(s) at runtime?
Do in order
Do together
Loop
If/Else
None of the above
20.
Repeated execution of a block of instructions a counted number of times is written using a
Do together statement
Do in order statement
Loop statement
Parameter
For all together statement
Powered by CreateSurvey