Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- A GUI:
- d.) Both a and b.
- a.) uses buttons, menus, and icons.
- b.) should be easy for a user to manipulate.
- c.) stands for Graphic Use Interaction.
- e.) All are correct.
- What does IDE stand for?
- a.) Integrated Development Environment
- b.) Integrated Design Environmente
- c.) Immersive Development Environment
- d.) Immersive Debugging Environment
- e.) None are correct.
- For which task does the IDE provide multiple ways to accomplish the task?
- e.) All are correct.
- a.) Putting a control on the form.
- b.) Running the program.
- c.) Activating the property window for a control.
- d.) Both a and b.
- Which task is accomplished in the Code editor?
- c.) Adding event procedures to the form.
- a.) Adding forms to the project.
- b.) Adding controls to the form.
- d.) Both a and b.
- e.) All are correct.
- Which is NOT a feature of a GUI that makes learning a program easy for users?
- d.) Commands
- a.) Online help
- b.) WYSIWYG formatting
- c.) Dialog boxes
- e.) Icons
- Which of the following is correct about Python?
- e.) All are correct.
- a.) Python is a byte-code compiled programming language.
- b.) Python uses a virtual machine to run machine-abstracted instructions.
- c.) Python is an object-oriented language.
- d.) Python is a declarative programming language.
- An object is composed of:
- e.) All are correct.
- a.) properties.
- b.) methods.
- c.) events.
- d.) Both a and b.
- Which statement about objects is true?
- d.) One class can create many objects.
- a.) One object is used to create one class.
- b.) One class is used to create one object.
- c.) One object can create many classes.
- e.) There is no relationship between objects and classes.
- The exit_key_handler property belongs to which object?
- b.) Form
- a.) Button
- c.) Label
- d.) TextBox
- e.) Timer
- A click event procedure stud for the label control can be created by:
- e.) All are correct.
- a.) selecting the object and event from the code editor window's drop-down boxes.
- b.) typing the code in the code editor window.
- c.) by double clicking the control.
- d.) Both a and b.
- In event-driven programming an event is generated by:
- e.) All are correct.
- a.) the system.
- b.) a user's action.
- c.) the program itself.
- d.) Both a and b.
- The Tick event is found only in which object?
- e.) Timer
- a.) Form
- b.) Button
- c.) TextBox
- d.) Label
- The Activated event is found only in which object?
- a.) Form
- b.) Button
- c.) TextBox
- d.) Label
- e.) Timer
- The Rnd statement will generate a(n):
- e.) decimal value between 0.0 and up to 1.0, but NOT including 1.0.
- a.) decimal value between 0.01 and 1.00.
- b.) integer value between 0.01 and 1.00.
- c.) decimal value between 0.0 and 1.0.
- d.) integer value between 0.0 and 1.0.
- Which is NOT an integer data type?
- a.) Single
- b.) Byte
- c.) Short
- d.) Integer
- e.) Long
- Which is a numeric data type?
- d.) Both a and b.
- a.) Floating point
- b.) Integer
- c.) Boolean
- e.) All are correct.
- The name of a constant:
- d.) does NOT have to begin with a letter and can be either upper or lower case.
- a.) must both begin with a letter and be all upper case.
- b.) does NOT have to begin with a letter but must be all upper case.
- c.) must begin with a letter but can be upper or lower case.
- e.) None are correct.
- The left side of an assignment statement will hold:
- d.) Both a and b.
- a.) a variable.
- b.) an object property.
- c.) an expression.
- e.) All are correct.
- The right side of an assignment statement will hold:
- c.) an expression.
- a.) a variable.
- b.) an object property.
- d.) Both a and b.
- e.) All are correct.
- The Items property of a ComboBox:
- a.) is a collection of items.
- b.) is the same as the Items property of a ListBox.
- c.) contains methods and properties.
- d.) Both a and b.
- e.) All are correct.
- A Loop is an iterative statement because it:
- b.) runs the same block of statements repeatedly.
- a.) selects a block of statements to run.
- c.) selects a block of statements and runs it repeatedly.
- d.) selects a block of statements and runs it a specified number of times.
- e.) All are correct.
- An Exception is another name for a:
- c.) runtime error.
- a.) compile error.
- b.) logic error.
- d.) superficial error.
- e.) syntax error.
- The methodology where code is broken into small, logical procedures is called:
- d.) modular programming.
- a.) event-driven programming.
- b.) functional programming.
- c.) granular programming.
- e.) procedural programming.
- Why should a variable NOT be declared as a module variable?
- e.) All are correct.
- a.) It prevents a procedure from being self contained.
- b.) It makes it easier to document the code.
- c.) Local variable names can be reused in other procedures.
- d.) Both a and b.
- Which method will arrange the elements of an array in alphabetical order?
- e.) Sorted
- a.) Arrange
- b.) Assemble
- c.) Order
- d.) Seq
- Where is a single element of data stored?
- a.) Field
- b.) Record
- c.) Table
- d.) Both a and b.
- e.) All are correct.
- Which of the following is part of an object?
- d.) Both a and b.
- a.) Methods
- b.) Properties
- c.) Instances
- e.) All are correct.
- Properties are used to represent:
- c.) data.
- a.) actions.
- b.) classes.
- d.) events.
- e.) instances.
- Methods are used to represent:
- a.) actions.
- b.) classes.
- c.) data.
- d.) events.
- e.) instances.
- A method in a class is:
- d.) Both a and b.
- a.) a sub procedure.
- b.) a function.
- c.) an event.
- e.) All are correct.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement