simple programming test
4/12/2018 Quiz: Final Exam
https://my.uclaextension.edu/courses/11549/quizzes/21958/take?preview=1 1/12
Final Exam
This is a preview of the published version of the quiz
Started: Apr 12 at 8:33am
Quiz Instruc�ons
1 ptsQuestion 1
form_load
form_appear
frmMainWin_Load
frmMainWin_Click
You wish to have a bunch of VB .NET statements executed just as your form (frmMainWin) is going to be displayed. What is the actual name of the private sub (subroutine) you'll create to do this?
1 ptsQuestion 2
a control
a method
an event
a class
In general OOP parlance, a "template" for a particular object (properties and code) from which one can instantiate is best referred to as:
You started this quiz near when it was due, so you won't have the full amount of time to take the quiz.
4/12/2018 Quiz: Final Exam
https://my.uclaextension.edu/courses/11549/quizzes/21958/take?preview=1 2/12
1 ptsQuestion 3
The calling routine uses parameters in the call. These are passed to arguments, which are indicated in the function/subroutine definition. Global variables can and should also be used inside the routine.
The calling routine uses parameters in the call. These are passed to arguments, which are indicated in the function/subroutine definition. No global variables should be used inside the routine.
The calling routine uses arguments in the call. These are passed to parameters, which are indicated in the function/subroutine definition. Global variables can and should be used inside the routine.
The calling routine uses arguments in the call. These are passed to parameters, which are indicated in the function/subroutine definition. No global variables should be used inside the routine.
When calling a C function or VB subroutine or function, it is possible to pass data from the calling routine into the routine (function or subroutine). in this course we've mainly done this by using global variables inside routines, for *full* modularity it is best to do this through more channeled and explicit means. Which of the following most accurately describes this process?
1 ptsQuestion 4
TextBox
ComboBox
CheckBox
RadioButtons
You are writing a Visual Basic program and wish to represent the "smoker" status of a person, indicating if they are or aren't a smoker. Which is the most efficient (according to space, time-to-create, and time to evaluate) type of control to use for this?
4/12/2018 Quiz: Final Exam
https://my.uclaextension.edu/courses/11549/quizzes/21958/take?preview=1 3/12
1 ptsQuestion 5
controls
objects
properties
events
Checked, Enabled, Text, and FormBorderStyle are examples of _________________.
1 ptsQuestion 6
procedural
non-procedural
object-oriented
event-driven
C would be classified as what type of programming language (primarily)?
1 ptsQuestion 7
15 minutes
1 hour
controlled by the Product Owner
At least 30 minutes, in order to deal with additional follow-up tasks by team members
The time period of a daily scrum is typically:
4/12/2018 Quiz: Final Exam
https://my.uclaextension.edu/courses/11549/quizzes/21958/take?preview=1 4/12
1 ptsQuestion 8
unit test
alpha test
beta test
integration
Having prospective users use software in a production mode (or "fake" production mode) in order to weed out more bugs and to generated "buzz" about the product prior to actual release is called:
1 ptsQuestion 9
TextBox
Label
ModalBox
MessageBox
If writing a Visual Basic problem, and you'd like to display a critical error which causes the user to sit up and take notice before proceeding, which of the following controls is most appropriate to use?
1 ptsQuestion 10
a static control
In Visual Basic and other GUI development tools, a special window or dialog box comes up and you have to complete it and exit it before doing anything else. We describe this window as being:
4/12/2018 Quiz: Final Exam
https://my.uclaextension.edu/courses/11549/quizzes/21958/take?preview=1 5/12
modal
non-modal
a dynamic control
1 ptsQuestion 11
dim age
dim age as integer
int
integer age
You want the variable called "age" to contain only integers. In Visual Basic, how do you do this?
1 ptsQuestion 12
sprint
daily scrum
user story
burndown chart
What did I accomplish yesterday? What am I working on today? What is impeding my progress today?
These three questions are answered by each programmer on the team for each:
4/12/2018 Quiz: Final Exam
https://my.uclaextension.edu/courses/11549/quizzes/21958/take?preview=1 6/12
1 ptsQuestion 13
Design Panel
Properties Window
Toolbox
Code Panel
All the attributes of a control you create in a Visual Basic .NET application will be primarily enumerated in the _______.
1 ptsQuestion 14
True
False
You can allow the user to easily specify a date by choosing from a graphical calendar simply by placing a certain type of control on a form.
1 ptsQuestion 15
True
False
It is impossible to create a Windows program with C. You must use C++ or Visual Basic.
1 ptsQuestion 16
4/12/2018 Quiz: Final Exam
https://my.uclaextension.edu/courses/11549/quizzes/21958/take?preview=1 7/12
non-modal
unchecked
disabled
explicit
In Solitaire--a popular Windows game--there's a dialog box which displays options. When Standard scoring is selected, the Keep Score caption and check box are grayed out, meaning the control doesn't apply at that moment. In Visual Basic parlance, we say that this control is _______.
1 ptsQuestion 17
Boolean TRUE
Boolean FALSE
Not enough information to determine
syntax error in the expression
In the Visual Basic boolean expression (that you would use, perhaps, in an if statement):
(intValue1 > 5 AND intValue2 < 2) OR (intValue3 <> 10)
what does the expression evaluate to if intValue1 contains the value 20, intValue2 contains the value 1 and intValue3 contains the value 10?
1 ptsQuestion 18
creating a new class with the same attributes and methods, plus additional (new) attributes and methods.
Instantiation of a class is similar to:
4/12/2018 Quiz: Final Exam
https://my.uclaextension.edu/courses/11549/quizzes/21958/take?preview=1 8/12
hiding data from the user of a class, forcing him or her to use a method to gain access
declaring a variable of a certain data type
deleting the class from the class library
1 ptsQuestion 19
methods
objects
properties
events
Click, LostFocus, MouseDown, and CheckChanged are examples of
1 ptsQuestion 20
True
False
To create a non-functional user interface in Windows to present to a client for comments, it's possible to do this without much code at all in Visual Basic.
1 ptsQuestion 21
methods
Refresh, Hide, Clear, Focus and Move are examples of:
4/12/2018 Quiz: Final Exam
https://my.uclaextension.edu/courses/11549/quizzes/21958/take?preview=1 9/12
controls
properties
events
1 ptsQuestion 22
unit test
alpha test
beta test
integration
Using various arguments when repeatedly recalling a C function (or VB subroutine)-- attempting to measure the robustness and accuracy of the module--is called:
1 ptsQuestion 23
DropDownBox
GroupBox
TextOptionBox
Form Control
In Visual Basic .NET, related radio buttons should generally be created in a control called a/an _______________ to work with each other.
1 ptsQuestion 24
4/12/2018 Quiz: Final Exam
https://my.uclaextension.edu/courses/11549/quizzes/21958/take?preview=1 10/12
%
&
$
\
What character is used to indicate an "access key" (and underlined character) for something in the Text property for a control?
1 ptsQuestion 25
a Label
a TextBox
a MessageBox
a ComboBox, DropDown List style
In a Visual Basic program, you wish to input a numeric value from the user. Which is generally the best type of control to use?
1 ptsQuestion 26
several while loops
several do-while loops
several separate if statements
You are writing a C program and you encounter a point in your program where there are five possible paths to take that are mutually exclusive. What construct(s) are you most likely to use to do this?
4/12/2018 Quiz: Final Exam
https://my.uclaextension.edu/courses/11549/quizzes/21958/take?preview=1 11/12
a linear nested if statement
1 ptsQuestion 27
major update
slipstreaming
maintenance
initial
Version (or release) 4.02 of a major commercial software program was just released. Version 4.01 was the previous release. 4.02 is most likely what type of release?
1 ptsQuestion 28
user stories
product backlog
scrumaster moment
sprint
Which term refers to a unit of development in an Agile environment, a defined time period in which the development team produces a particular iteration of work?
1 ptsQuestion 29
In writing a Visual Basic program, you wish to represent different attributes about a restaurant on your form. Among things, you'd like to indicate the primary cuisine of the place (e.g., Mexican, Indian, Thai, Ethiopian). Assuming there are about 25 different
4/12/2018 Quiz: Final Exam
https://my.uclaextension.edu/courses/11549/quizzes/21958/take?preview=1 12/12
Not saved
TextBox
ComboBox (DropDown List style)
radio buttons
multiple check boxes
types of cuisine in the area, which control would be bestand easiest to use (from the user's point of view and from a screen efficiency point of view) to represent this?
1 ptsQuestion 30
MessageBox
event
form
function
In general, each "window" that appears in your Visual Basic program is created by designing a/an:
Submit Quiz