Skip to main content

Application Development with C# Midterm Exam - 1111 Verified Questions

Page 1


Application Development with C#

Midterm Exam

Course Introduction

This course provides students with a comprehensive introduction to application development using the C# programming language. Topics include object-oriented programming principles, designing and building graphical user interfaces, working with data using databases and file I/O, and implementing event-driven programming concepts. Emphasis is placed on industry best practices, code organization, debugging, and testing. Through hands-on projects and assignments, students will gain practical experience in developing, deploying, and maintaining applications using C# within the .NET framework. This course prepares students for real-world software development roles by fostering essential problem-solving and coding skills in a modern programming environment.

Recommended Textbook

Starting out with Visual C# 4th Edition by Tony Gaddis

Available Study Resources on Quizplus

11 Chapters

1111 Verified Questions

1111 Flashcards

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

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/20995

Sample Questions

Q1) In object-oriented programming, a window displayed on the screen is called a

A) window object

B) screen object

C) form object

D) frame object

Answer: C

Q2) Any piece of data stored in a computer's memory must be stored as a decimal number.

A)True

B)False

Answer: False

Q3) The computer component that collects data and sends it to the computer is called a(n) ____________.

A) storage device

B) output device

C) sending unit

D) input device

Answer: D

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/20996

Sample Questions

Q1) Selecting the ____________ button in the Properties window causes the items in the window to be displayed in logical groups.

A) Grouped

B) Categorized

C) Ordered

D) Type

Answer: B

Q2) C# code is primarily organized in three ways: namespaces, classes, and methods.

A)True

B)False

Answer: True

Q3) When typing a statement in code, press the Tab key on the keyboard to accept suggestions made by the IntelliSense feature of Visual Studio.

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

176 Verified Questions

176 Flashcards

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

Sample Questions

Q1) In C#, the + operator has two uses: string concatenation and numeric addition.

A)True

B)False

Answer: True

Q2) The programming language's ____________ dictates which operations are performed first in a mathematical expression.

A) least significant value

B) order of operations

C) compiler version

D) operator position

Answer: B

Q3) A(n) ____________ specifies how a class member can be accessed by code located outside the class.

A) variable name

B) access modifier

C) namespace

D) class name

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

78 Verified Questions

78 Flashcards

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

Sample Questions

Q1) Because the TryParse methods return either

A)True

B)False

Q2) The ! operator has a higher precedence than the relational operators (such as < or >).

A)True

B)False

Q3) The expression (A >= 1) XX (A <= 10) will determine if the value in A is inside a range, if "XX" is replaced by which logical operator?

A) &&

B) !

C) ||

D) >=

Q4) RadioButton controls are grouped according to the container in which they are placed.

A)True

B)False

Q5) Variables of the double data type are commonly used as flags.

A)True

B)False

6

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

Chapter 5: Loops, Files, and Random Numbers

Available Study Resources on Quizplus for this Chatper

112 Verified Questions

112 Flashcards

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

Sample Questions

Q1) The ____________ displays a standard Windows Save As dialog box.

A) SaveAs method

B) SaveFileDialog control

C) Save_File event

D) OpenFileDialog control

Q2) In the update expression of a for loop, you must use the ++ operator in the increment expression.

A)True

B)False

Q3) The .NET Framework provides a class named ____________ that you can use in C# to generate random numbers.

A) Rand

B) Random

C) GenNum

D) RandomGenerator

Q4) To ____________ a variable means to increase its value by 1.

A) append

B) decrement

C) add

D) increment

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

69 Verified Questions

69 Flashcards

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

Sample Questions

Q1) When you call a ____________ method, it executes its code and returns without passing any value back to the program statement that called it.

A) void

B) terminal

C) value-returning

D) private

Q2) It is a standard convention among C# programmers to use ____________ for method names because it differentiates method names from variable and field names.

A) camelCase

B) lowercase characters

C) Pascal case

D) uppercase characters

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

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

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/21001

Sample Questions

Q1) An array's size declarator must be a nonnegative integer value.

A)True

B)False

Q2) The .NET Framework provides a class named Container, which can be used for storing and retrieving items.

A)True

B)False

Q3) With what value should the accumulator variable be initialized to calculate the total of all values in a numeric array?

A) null

B) false

C) 0

D) 1

Q4) You cannot reassign an array reference variable to a different array.

A)True

B)False

Q5) You can create an array to hold any single type of value.

A)True

B)False

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

Chapter 8: More About Processing Data

Available Study Resources on Quizplus for this Chatper

90 Verified Questions

90 Flashcards

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

Sample Questions

Q1) The ____________ is a container that can hold multiple images.

A) ImageList control

B) PictureBox control

C) Panel control

D) Bitmap

Q2) When you create a structure object with a simple declaration, the object's fields are initialized to their default values.

A)True

B)False

Q3) A(n) ____________ is a data type you can create by specifying a set of symbolic names that belong to that data type.

A) class

B) structure

C) namespace

D) enumerated data type

Q4) The ____________ method removes specified characters from a string.

A) Delete

B) Extract

C) TrimEnd

D) Remove

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/21003

Sample Questions

Q1) Classes are ____________ types.

A) reference

B) value

C) abstract

D) binary

Q2) If you try to pass a property to a ref or an out parameter, an error occurs.

A)True

B)False

Q3) 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) set accessor

B) get accessor

C) return statement

D) ToValue method

Q4) You can use the tabs appearing at the top of the Designer window to select different forms or their code to be displayed in the window.

A)True

B)False

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/21004

Sample Questions

Q1) When you want to make sure a specific constructor from the base class is used, the derived class constructor must explicitly call the base class constructor using the

A) base keyword

B) const keyword

C) Override method

D) out parameter

Q2) A class that is not abstract is sometimes called a(n) ____________.

A) concrete class

B) base class

C) derived class

D) abstract class

Q3) The term ____________ refers to an object's ability to take different forms.

A) adaptation

B) polymorphism

C) portability

D) code reuse

Q4) Inheritance involves a base class and a relative class.

A)True

B)False

Page 12

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

Chapter 11: Databases

Available Study Resources on Quizplus for this Chatper

69 Verified Questions

69 Flashcards

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

Sample Questions

Q1) A(n) ____________ is a column that contains unique values generated by the DBMS, usually using a counter.

A) primary key

B) identity column

C) key column

D) generated field

Q2) In SQL, the ____________ is used as a wildcard character, and can be used to represent any sequence of zero or more characters.

A) ^ symbol

B) Wild operator

C) % symbol

D) * character

Q3) Rather than displaying multiple rows at once, a Details view lets the user see one row at a time.

A)True

B)False

Q4) Data stored in a database table's column is divided into tables.

A)True

B)False

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

Turn static files into dynamic content formats.

Create a flipbook