Introduction to Windows Programming Test Bank - 1094 Verified Questions

Page 1


Introduction to Windows Programming Test

Bank

Course Introduction

Introduction to Windows Programming provides students with the foundational knowledge and practical skills necessary to develop applications for the Microsoft Windows operating system. The course covers essential concepts such as the Windows API, event-driven programming, graphical user interfaces (GUIs), and the design and implementation of Windows-based applications using languages like C++ or C#. Through hands-on projects and examples, students learn to create, debug, and enhance applications that interact seamlessly with Windows features, setting the groundwork for more advanced topics in software development for desktop environments.

Recommended Textbook

Starting out with Visual C# 2012 3rd Edition by Tony Gaddis

Available Study Resources on Quizplus

11 Chapters

1094 Verified Questions

1094 Flashcards

Source URL: https://quizplus.com/study-set/1362

Page 2

Chapter 1: Introduction to Computers and Programming

Available Study Resources on Quizplus for this Chatper

161 Verified Questions

161 Flashcards

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

Sample Questions

Q1) A(n) ____________ is a set of well-defined, logical steps that must be taken to perform a task.

A) flowchart

B) schematic

C) algorithm

D) outline

Answer: C

Q2) Because compilers combine translation and execution, they typically do note create separate machine language programs.

A)True

B)False

Answer: False

Q3) Floppy disk drives are good mediums for creating backup copies of data.

A)True

B)False

Answer: False

Q4) In programming, an object is a physical device.

A)True

B)False

Answer: False

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

Chapter 2: Introduction to Visual C

Available Study Resources on Quizplus for this Chatper

131 Verified Questions

131 Flashcards

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

Sample Questions

Q1) ____________ are used by professional programmers to embed extensive documentation in a program' source code.

A) Line comments

B) Block comments

C) Documentation comments

D) Embedded comments

Answer: C

Q2) You can click and drag a control to a new location when the mouse cursor is positioned inside the control and the mouse cursor becomes a ____________.

A) two-headed arrow

B) four-headed arrow

C) hand icon

D) scissor icon

Answer: B

Q3) The first character of a C# identifier must be one of the letters a through z or A through Z or an underscore character (_).

A)True

B)False

Answer: True

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

Page 4

Chapter 3: Processing Data

Available Study Resources on Quizplus for this Chatper

174 Verified Questions

174 Flashcards

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

Sample Questions

Q1) A variable's ____________ indicates the type of data that the variable will hold.

A) name

B) location in memory

C) data type

D) assignment value

Answer: C

Q2) A constant field's value can be changed by other statements inside the class.

A)True

B)False

Answer: False

Q3) A(n) ____________ also known as a mnemonic, is a key that is pressed in combination with the Alt key to access a control quickly using the keyboard.

A) shortcut key

B) access key

C) key binding

D) alt key specifier

Answer: B

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

77 Verified Questions

77 Flashcards

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

Sample Questions

Q1) A ____________ appears as a small box with some accompanying text.

A) list box

B) link

C) check box

D) radio button

Q2) The ____________ is a multiple-alternative decision structure, which allows you to test the value of a variable or an expression and then use that value to determine which statement or set of statements to execute.

A) switch statement

B) if statement

C) try-catch statement

D) else statement

Q3) Decision structures are also known as selection structures.

A)True

B)False

Q4) In a flowchart, the diamond symbol indicates some condition that must be tested.

A)True

B)False

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

Chapter 5: Loops, Files, and Random Numbers

Available Study Resources on Quizplus for this Chatper

109 Verified Questions

109 Flashcards

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

Sample Questions

Q1) You can only add values of the string data type to a ListBox control.

A)True

B)False

Q2) The ____________ begins with the word while, followed by a Boolean expression that is enclosed in parentheses.

A) conditional statement

B) logic mark

C) while clause

D) loop parameter

Q3) A random integer's range must begin at zero.

A)True

B)False

Q4) When a variable is declared in the initialization expression of a for loop, the scope of the variable is limited to the loop.

A)True

B)False

Q5) A binary file may be opened and viewed in a text editor such as Notepad.

A)True

B)False

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

Chapter 6: Modularizing Your Code With Methods

Available Study Resources on Quizplus for this Chatper

61 Verified Questions

61 Flashcards

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

Sample Questions

Q1) You can pass int arguments into int parameters, but you cannot pass double or decimal arguments into int parameters.

A)True

B)False

Q2) The value that is returned from a method can be used like any other value.

A)True

B)False

Q3) In general terms, a program that is broken into smaller units of code, such as methods, is known as a____________.

A) tiered project solution

B) method-based solution

C) modularized program

D) divisional program

Q4) You can use a(n) ____________ to test a condition, and then return either to indicate whether the condition exists..

A) reference parameter

B) Boolean method

C) if-else statement

D) void method

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

Chapter 7: Arrays and Lists

Available Study Resources on Quizplus for this Chatper

99 Verified Questions

99 Flashcards

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

Sample Questions

Q1) A variable that is used to reference an object is commonly called a(n)

A) reference variable

B) object variable

C) class variable

D) Boolean variable

Q2) When only a reference of an object is copied and not the contents of the object itself, it is called a(n) ____________.

A) shadow copy

B) memory copy

C) error copy

D) reference copy

Q3) The ____________ creates an object in memory and returns a reference to that object.

A) .NET Framework

B) new operator

C) = operator

D) % operator

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

9

Chapter 8: More About Processing Data

Available Study Resources on Quizplus for this Chatper

87 Verified Questions

87 Flashcards

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

Sample Questions

Q1) Enumerators and enum variables have a ToString method.

A)True

B)False

Q2) The ____________ methods return an int value indicating the position of the substring being searched for in the string object.

A) IndexOf and LastIndexOf

B) Insert and Remove

C) ToUpper and ToLower

D) Substring and Trim

Q3) The char data type provides several methods for testing the value of a character.

A)True

B)False

Q4) When you declare an enumerated type, the enumerators are assigned integer values, starting with 0.

A)True

B)False

Q5) Like strings, enumerators must be enclosed in quotation marks.

A)True

B)False

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

Chapter 9: Classes and Multiform Projects

Available Study Resources on Quizplus for this Chatper

89 Verified Questions

89 Flashcards

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

Sample Questions

Q1) When you pass a property as an argument to a method, there is one restriction: Properties can be passed only ____________.

A) by reference

B) globally

C) by value

D) locally

Q2) The ____________ is a method that returns the property's value.

A) Me method

B) get accessor

C) Show method

D) this.Value method

Q3) When you have identified the things that a class is responsible for knowing, then you have identified the class's ____________.

A) methods

B) names

C) fields and/or properties

D) objects

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

11

Chapter 10: Inheritance and Polymorphism

Available Study Resources on Quizplus for this Chatper

37 Verified Questions

37 Flashcards

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

Sample Questions

Q1) When a derived class method has the same name as a base class method, it is often said that the derived class method ____________ the base class method.

A) shadows

B) mimics

C) overrides

D) terminates

Q2) Properties in a base class can be overridden in the same way that methods can be overridden.

A)True

B)False

Q3) A class that is not intended to be instantiated but is to be used only as a base class is called a concrete class.

A)True

B)False

Q4) Only methods in the derived class can directly access the base class's private members.

A)True

B)False

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

Chapter 11: Databases

Available Study Resources on Quizplus for this Chatper

69 Verified Questions

69 Flashcards

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

Sample Questions

Q1) The Not operator can be used in SQL to disqualify a character pattern in a search criteria.

A)True

B)False

Q2) In an SQL statement, a parameter variable begins with the ____________.

A) param keyword

B) var operator

C) @ symbol

D) ref clause

Q3) When you create a database table, you must specify a data type for the columns.

A)True

B)False

Q4) In SQL, strings are enclosed in ____________, not double quotes.

A) single quotes

B) underscores

C) asterisks

D) brackets

Q5) SQL provides several functions for performing calculations.

A)True

B)False

Page 13

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

Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.