0% found this document useful (0 votes)
2 views12 pages

Edusoft Mop-Up Quiz Collated

The document is a collection of multiple-choice questions related to educational software development, covering topics such as programming concepts, control structures, data types, and user interface components. Each question provides four answer options, testing knowledge on various programming principles and practices. It is organized into three sets, each containing 20 questions.

Uploaded by

kuma francis
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views12 pages

Edusoft Mop-Up Quiz Collated

The document is a collection of multiple-choice questions related to educational software development, covering topics such as programming concepts, control structures, data types, and user interface components. Each question provides four answer options, testing knowledge on various programming principles and practices. It is organized into three sets, each containing 20 questions.

Uploaded by

kuma francis
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 12

EDUCATIONAL SOFTWARE DEVELOPMENT MOP-UP QUIZ COLLATED

1. Because the for loop tests its Boolean expression before it performs an iteration, it is a __ loop.
a. Posttest
b. Infinite
c. Pseudo
d. Pretest

2. When you call a ____ method, it executes the statements it contains and then returns a value
back to the program statement that it called it.
a. Void
b. Recursive
c. Public
d. Value-returning

3. When you call a method and pass a class instance as an argument, the parameter variable
becomes a(n) ____ to the object.
a. Indicator
b. Address
c. Copy
d. Reference

4. When a PictureBox control’s SizeMode property is set to ____ the image is uniformly resized to
fit the PictureBox without losing its original aspect ratio.
a. Normal
b. CenterImage
c. Zoom
d. StrecthImage

5. The _____ is the set of real-world objects, parties, and major events related to the problem.
a. Project goal
b. Virtual world
c. Critical path
d. Problem domain

6. Each time a loop executes its statement(s), we say the loop is performing a(n) ______.
a. Cycle
b. Execution
c. Pass
d. Iteration
7. Which of the following statements would display the number 25 in a Label control named
outputLabel?
a. output.Label.Text = 25;
b. output.Label.Text = “25”;
c. outputLabel = “25”;
d. outputLabel(25);

8. if you specify a path in a string literal, you need to prefix the string with the ____ symbol, also
known as the literal text character.
a. $
b. *
c. #
d. @

9. Each item in a ListBox has a(n) __________ which is an integer that identifies the item’s position
in the ListBox.
a. Index
b. Table key
c. List number
d. Unique identifier

10. The ++ and -- operators can be written before their operands. This is called __________ mode.
a. Superscript
b. Prefix
c. Postfix
d. Preface

11. When you have identified the actions that a class is responsible for doing, then you have
identified the class’s _______.
a. Event handlers
b. Actions
c. Methods
d. Fields and/or properties

12. A(n) _______ is a sequence of one or more programming statements that perform some
operation.
a. Class
b. Namespace
c. Method
d. Algorithm
13. The __________ data type is used to store any number that might have a fractional part.
a. Boolean
b. Int
c. String
d. Double

14. A ____ is a container that holds classes.


a. Method
b. List
c. Program
d. Namespace

15. The __________ window in the debugger allows you to type the debugging commands using the
keyboard.
a. Expert
b. Watch
c. Immediate
d. Command

16. The data stored in an object are commonly called fields or _______
a. Values
b. Characteristics
c. Properties
d. Functions

17. The file named _______ contains code associated with a form named Form1.
a. Form1.cs
b. Window.cs
c. Control.cs
d. MainForm.cs

18. When you have a project open in Visual Studio, the time during which you build the GUI and
write the application's code is referred to as __________.
a. Design time
b. Application progression
c. Prototyping
d. Visual planning
19. A __________ appears as a small box with some accompanying text.
a. Check box
b. List box
c. Radio button
d. Link

20. To close an application's form in code, use the __________ statement.


a. me.Quit();
b. form.Exit();
c. app.Stop();
d. this.Close();
SET TWO

1. A math expression involving a double and a(n) __________ is not allowed unless a cast operator
is used to convert one of the operands.
a. Int
b. Double
c. Decimal
d. Boolean

2. Fundamental types of data, such as integers and real numbers are known as __________ data
types.
a. Primitive
b. Natural
c. Basic
d. Fundamental

3. When you want to create a check box on a form, you use the _____ control which is found in the
Common Controls section of the Toolbox.
a. CheckBox
b. ListBox
c. LinkLabel
d. RadioButton

4. The first line of a class declaration is known as the _______.


a. Data title
b. Class header
c. Object heading
d. Class definition

5. In the design window, you can click and drag a control to a new button when the mouse cursor
is positioned inside the control and becomes a _______.
a. Hand icon
b. Four-headed arrow
c. Two-headed arrow
d. Scissor icon

6. A(n) ________ structure is a set of statements that execute in the order in which they appear.
a. Control
b. Command
c. Sequence
d. Ordered
7. A(n) … is a group of one or more programming statements that performs some operation.
a. Algorithm
b. Namespace
c. Method
d. Class

8. A(n) __________ structure can execute a set of statements only under certain conditions.
a. Decision
b. Event
c. Circumstantial
d. Sequence

9. The … naming convention gets its name because the uppercase characters that appear in a
name are sometimes reminiscent of a camel’s humps.
a. camelCase
b. Pascal
c. Hungarian notation
d. camel style

10. A constructor that accepts arguments is known as a(n) __________.


a. Alternate constructor
b. Aliased constructor
c. Parameterized constructor
d. Constructor method

11. To close an application’s form in code, you use the statement …


a. me.Quit();
b. app.Stop();
c. form.Exit();
d. this.Close();

12. Once you create a ListBox control, you add items you wish to display to its __________
property.
a. Display
b. Text
c. Items
d. Values
13. To convert a char variable to a string, call its __________ method
a. Equals
b. CompareTo
c. GetType
d. ToString

14. A(n) __________ is a mistake that does not prevent a program from starting but causes it to
produce incorrect results.
a. Syntax error
b. Logic error
c. Parse error
d. Running error

15. A __________ appears as a small box with some accompanying text.


a. Link
b. Check box
c. Radio button
d. List box

16. When a __________ is provided for a parameter, it is possible to call the method without
explicitly passing an argument into the parameter.
a. Bitwise operator
b. Boolean operator
c. Default operator
d. Named argument

17. If no item is selected in a ListBox, what value is in the SelectedIndex property?


a. True
b. False
c. -1
d. 0

18. The … file contains code that is associated with the Form1 form.
a. Window.cs
b. Form1.cs
c. Control.cs
d. MainForm.cs
19. The __________ property can be used to change a form's width and height.
a. Resolution
b. Area
c. Size
d. Rectangle

20. The __________ window in the debugger allows you to type the debugging commands using the
keyboard.
a. Watch
b. Immediate
c. Expert
d. Command
SET THREE

1. If you wish to remove a form from a project and delete its file from the disk, first right-click on the
form’s entry in the Solution Explorer window and click _____ on the pop-up menu.
a. Delete
b. Remove
c. Erase
d. Purge

2. Controls that can display text have a _____ property that allows you to change the color of the
text.
a. FontColor
b. ForeColor
c. Color
d. TextColor

3. When an operation involves an int and a decimal, the result will be a(n) ________.
a. int
b. decimal
c. string
d. double

4. The ______ keyword is required when specifying a variable as an output argument.


a. in
b. static
c. out
d. extern

5. A(n) _______ contains data that cannot be viewed by a text editor such as Notepad
a. binary file
b. source file
c. data file
d. access file

6. Assuming a string variable named movieTitle has already been declared, which of the following
statements combines the strings “The” and “Hobbit” and then assigns the resulting string to the
variable with a space between the two words?
a. movieTitle = “The ” & “Hobbit”
b. movieTitle(“The “, “Hobbit”);
c. “The “ + “Hobbit” = movieTitle;
d. movieTitle = “The “ + “Hobbit”;
7. A ________ is a diagram that graphically depicts the steps of an algorithm.
a. Billboard
b. Hierarchy chart
c. Flowchart
d. Schematic

8. The series of _____ directives that appear at the top of a C# source code file indicate which
namespace in the .NET framework the program will use.
a. Using
b. Namespace
c. Public
d. Include

9. If you wish to remove a form from a project but you don’t want to delete its file from the disk,
first right-click on the form’s entry in the Solution Explorer window and click ____ on the pop-up
menu.
a. Exclude From Project
b. Hide Form Only
c. Remove From Project
d. Archive Form Data

10. A(n) ______ appears on one line in a program and begins with two forward slashes ( // ).
a. Short comment
b. Documentation comment
c. Block comment
d. Line comment

11. When a value is assigned to a property, the property’s ______ is executed and the value being
assigned is contained in the value parameter.
a. ToValue method
b. Return statement
c. get accessor
d. set accessor

12. Which of the following is the best type of tool used to break up input validation into separate
steps?
a. None of these
b. Boolean method
c. Nested if statements
d. void method
13. A _______ variable belongs to a method in which it is declared and only statements inside that
method can access that variable.
a. static
b. local
c. global
d. limited

14. The first line of a class declaration is known as the _______.


a. object heading
b. data title
c. class header
d. class definition

15. Once you have created a PictureBox control, you use its _____ property to specify the image it
will display.
a. Display
b. Image
c. Picture
d. Source

16. The _____ structure has two possible paths of execution. One path is taken if the Boolean
expression is true and the other path is taken if the Boolean expression is false.
a. Comparative
b. Dual-alternative decision
c. Branching
d. Multi-decision

17. In code, you move the input focus by calling the ______ method.
a. Move
b. Focus
c. Selection
d. Tab

18. Appending the letter M or m to a numeric literal causes the number to be considered a ____
literal.
a. Double
b. Decimal
c. Mnemonic
d. monetary
19. Parts of a mathematical expression may be grouped with ______ to force some operations to be
performed before others.
a. braces
b. parentheses
c. semicolons
d. double quotation marks

20. Each time a loop executes its statement(s), we say the loop is performing a(n) ______.
a. execution
b. cycle
c. iteration
d. pass

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy