Skip to main content

Windows Application Development Pre-Test Questions - 430 Verified Questions

Page 1


Windows Application Development

Pre-Test Questions

Course Introduction

Windows Application Development introduces students to the principles and practices involved in creating robust, user-friendly applications for the Windows operating system. This course covers the essentials of Windows application frameworks, graphical user interface (GUI) design, event-driven programming, and data management using tools such as Visual Studio and languages like C# or Visual Basic. Students will learn how to build, test, and deploy both simple and complex Windows applications, gain experience with core Windows APIs, and explore contemporary design patterns and best practices. Through hands-on projects, participants will develop practical skills in integrating user interfaces with back-end logic, managing files and resources, and ensuring a seamless user experience within the Windows environment.

Recommended Textbook

Starting Out With Visual Basic 2012 6th Edition by Tony Gaddis

Available Study Resources on Quizplus

12 Chapters

430 Verified Questions

430 Flashcards

Source URL: https://quizplus.com/study-set/3852 Page 2

Chapter 1: Introduction to Programming and Visual Basic

Available Study Resources on Quizplus for this Chatper

40 Verified Questions

40 Flashcards

Source URL: https://quizplus.com/quiz/76827

Sample Questions

Q1) A variable __.

A) performs various operations on data

B) is a set of programming statements to perform a specific task

C) is a storage location in memory represented by a name

D) is a key element of the graphical user interface

Answer: C

Q2) Which of the following is an example of a binary number?

A) 324

B) 123

C) 101

D) 202

Answer: C

Q3) Any control ___should have a descriptive, programmer-defined name.

A) used in a form

B) whose name appears in a programming statement

C) that is a label

D) with a text property

Answer: B

To view all questions and flashcards with answers, click on the resource link above. Page 3

Chapter 2: Creating Applications With Visual Basic

Available Study Resources on Quizplus for this Chatper

36 Verified Questions

36 Flashcards

Source URL: https://quizplus.com/quiz/76826

Sample Questions

Q1) When Visual Studio displays a new project, a blank form is shown in the _window.

A) Properties

B) ToolBox

C) Project

D) Designer

Answer: D

Q2) The code that is executed when the user clicks a button is known as .

A) a property

B) a control

C) an event handler

D) a keyword

Answer: C

Q3) The _property appears in parentheses so it will appear at the top of the alphabetical Property list.

A) Name

B) Text

C) Visible

D) all of the above

Answer: A

To view all questions and flashcards with answers, click on the resource link above.

Page 4

Chapter 3: Variables and Calculations

Available Study Resources on Quizplus for this Chatper

41 Verified Questions

41 Flashcards

Source URL: https://quizplus.com/quiz/76825

Sample Questions

Q1) What is the value of intE after the following statements execute? Dim intC As Integer

Dim intD As Integer

Dim intE As Integer

IntC = 20

IntD = 3

IntE = intC \ intD

A) 7

B) 6

C) 6.666667

D) 0

Answer: B

Q2) Which statement is true regarding the CInt function?

A) It converts letters to numbers.

B) It cannot convert a string such as "24.7" to an integer.

C) A floating-point number such as 24.7 is converted to 24, dropping its decimal positions.

D) A floating-point number such as 24.7 is converted to 25, rounding its decimal positions.

Answer: C

To view all questions and flashcards with answers, click on the resource link above. Page 5

Chapter 4: Making Decisions

Available Study Resources on Quizplus for this Chatper

39 Verified Questions

39 Flashcards

Source URL: https://quizplus.com/quiz/76824

Sample Questions

Q1) Because only one radio button in a group can be selected at any given time, they are said to be ____.

A) mutually exclusive

B) dependent

C) selectively unique

D) interdependent

Q2) What value will be assigned to intIndex when the following statements execute? Dim strTarget As String = "asdsakfljfdgasldfjdl"

Dim intIndex as Integer = strTarget.IndexOf"GAS")

A) 11

B) 12

C) 0

D) -1

Q3) The expression Single.TryParse"12.5", sngNbr) performs the following:

A) Returns True

B) Returns False

C) Places the value 12.5 in the variable sngNbr

D) Returns True and places the value 12.5 in the variable sngNbr

To view all questions and flashcards with answers, click on the resource link above.

6

Chapter 5: Lists and Loops

Available Study Resources on Quizplus for this Chatper

36 Verified Questions

36 Flashcards

Source URL: https://quizplus.com/quiz/76823

Sample Questions

Q1) How can you cause scroll bars to appear in a ListBox at runtime?

A) Set the ScrollFlag property of the ListBox to True.

B) A scroll bar is automatically added when a ListBox contains more items than can be displayed.

C) Set the ScrollBars property of the ListBox to True.

D) Add a programming statement to call the ScrollBar method of the ListBox.

Q2) The first item in a ListBox has an index of .

A) < font_face=symbol > < /font >1

B) 0

C) 1

D) Items.Count

Q3) Which type of loop uses a pretest to initialize a counter variable and then increment the counter variable at the end of each iteration?

A) The Do Until Loop

B) The Count Until Loop

C) The Do While Loop

D) The For Next Loop

To view all questions and flashcards with answers, click on the resource link above.

Chapter 6: Procedures and Functions

Available Study Resources on Quizplus for this Chatper

31 Verified Questions

31 Flashcards

Source URL: https://quizplus.com/quiz/76822

Sample Questions

Q1) What is the value of intTotal after the following code executes? Dim intNumber1 As Integer = 2

Dim intNumber2 As Integer = 3

Dim intTotal As Integer

IntTotal = AddSquaresintNumber1, intNumber2)

Function AddSquaresByVal intA As Integer, ByVal intB As Integer) As Integer

IntA = intA * intA

IntB = intB * intB

Return intA + intB

IntA = 0

IntB = 0

End Function

A) 0

B) 5

C) 10

D) 13

Q2) When debugging a program in break mode, the Step Into command causes the currently highlighted line of code to execute.

A)True

B)False

To view all questions and flashcards with answers, click on the resource link above.

Page 8

Chapter 7: Multiple Forms, Modules, and Menus

Available Study Resources on Quizplus for this Chatper

36 Verified Questions

36 Flashcards

Source URL: https://quizplus.com/quiz/76821

Sample Questions

Q1) Which of the following is not true about a form's class declaration?

A) It contains a detailed description of a form.

B) It's similar to a blueprint for a house.

C) It creates an instance of the form.

D) It contains the form's event handlers.

Q2) All of the following are true of the Show method of a form except:

A) using the Show method allows other forms to receive the focus

B) the Show method allows a calling program to continue to process statements

C) the displayed form must be closed before you can access other forms

D) the Show method displays a modeless form

Q3) When creating a form in Visual Basic, code associated with that form is stored in a file with a _extension.

A) sln

B) proj

C) frm

D) vb

Q4) The last form created for a Windows Forms application is designated as the startup form.

A)True

B)False

Page 9

To view all questions and flashcards with answers, click on the resource link above.

Chapter 8: Arrays and More

Available Study Resources on Quizplus for this Chatper

34 Verified Questions

34 Flashcards

Source URL: https://quizplus.com/quiz/76820

Sample Questions

Q1) Which of the following provides the index of the highest numbered element of the array strNames?

A) strNames.Length - 1

B) strNames.Length

C) strNames.Length + 1

D) None of the above

Q2) This property of a control allows it be positioned a specified distance from the outside edge of the form.

A) dock

B) anchor

C) attach

D) secure

Q3) Which of the following statements defines a two-dimensional Integer array named intTwoDArray with 6 rows and 4 columns?

A) Dim intTwoDArray5, 3) As Integer

B) Dim intTwoDArray3, 5) As Integer

C) Dim intTwoDArray6, 4) As Integer

D) Dim intTwoDArray4, 6) As Integer

To view all questions and flashcards with answers, click on the resource link above.

10

Chapter 9: Files, Printing, and Structures

Available Study Resources on Quizplus for this Chatper

36 Verified Questions

36 Flashcards

Source URL: https://quizplus.com/quiz/76819

Sample Questions

Q1) The StreamWriter's CreateText method will ___.

A) create a new file or replace an existing one

B) append text at the end of the existing file

C) insert text at the beginning of the file

D) maintain the data for an existing file

Q2) This method places an item of data in a file without terminating the line.

A) WriteLine

B) ReadLine

C) Append

D) Write

Q3) To change the color of text in a windows form, you could use this.

A) FontDialog control

B) ColorDialog control

C) FontDialog control with the ShowColor property set to True

D) both b and c are correct

Q4) The FontDialog control allows the user to determine the .

A) Font

B) Font Style

C) Font Size

D) all of the above

To view all questions and flashcards with answers, click on the resource link above. Page 11

Chapter 10: Working With Databases

Available Study Resources on Quizplus for this Chatper

32 Verified Questions

32 Flashcards

Source URL: https://quizplus.com/quiz/76818

Sample Questions

Q1) Which statement does NOT accurately describe a database row?

A) A row contains related data about a single item such as a department.

B) A row contains one or more fields.

C) When discussing a table, we refer to the rows by name.

D) A row is part of a database table.

Q2) A table adapter's method is used to add a new row to a table.

A) Add

B) Append

C) Insert

D) Update

Q3) Which table adapter method reads data from the database into the dataset?

A) Fill

B) Read

C) Select

D) Retrieve

Q4) All of the following are true about SQL except .

A) SQL provides a standard means of interacting with a database.

B) SQL consists of several keywords.

C) SQL stands for "Sequenced Query Language"

D) SQL is an industry-standard language.

To view all questions and flashcards with answers, click on the resource link above. Page 12

Chapter 11: Developing Web Applications

Available Study Resources on Quizplus for this Chatper

33 Verified Questions

33 Flashcards

Source URL: https://quizplus.com/quiz/76817

Sample Questions

Q1) Which of the following is true about the HTML Designer?

A) it requires the user know how to write HTML code

B) it's a tool that simplifies the design of Web pages and Web forms

C) it's an add-on to Visual Studio for an additional cost

D) it's not possible to visually edit Web pages using this tool

Q2) When the Web first became popular, __was the only available tool for creating pages with text, graphics, buttons, and input forms.

A) JavaScript

B) HTML

C) PHP

D) XML

Q3) All of the following are browsers your Web pages should be tested with except .

A) Chrome

B) WebPro

C) Safari

D) Firefox

To view all questions and flashcards with answers, click on the resource link above.

Page 13

Chapter 12: Classes, Collections, and Inheritance

Available Study Resources on Quizplus for this Chatper

36 Verified Questions

36 Flashcards

Source URL: https://quizplus.com/quiz/76816

Sample Questions

Q1) A _defines a special type of class member that contains Get and Set sections.

A) method

B) constructor

C) property procedure

D) member variable

Q2) It's possible to access the items in a collection using .

A) an integer index of the item to be retrieved

B) the Item method to retrieve an item with a specific key value

C) a For Each loop

D) all of the above

Q3) You can __ a method or property procedure found in the base class by adding one with the same name to a derived class.

A) Overrule

B) Substitute

C) Inherit

D) Override

To view all questions and flashcards with answers, click on the resource link above.

Page 14

Turn static files into dynamic content formats.

Create a flipbook
Windows Application Development Pre-Test Questions - 430 Verified Questions by Quizplus - Issuu