Introduction To Programming With C# MCQ PDF
Introduction To Programming With C# MCQ PDF
[Link]
11 Chapters
1094 Verified Questions
Introduction to Programming with C#
MCQ PDF
Cou
Introduction to Programming with C# provides students with a comprehensive
principles including classes and objects. Students will develop problem-solving skills by
designing, writing, and debugging C# programs, and will learn to use modern
development tools such as Visual Studio. By the end of the course, students will have the
essential skills to create basic applications and be prepared for more advanced
programming coursework.
Recommended Textbook
Starting out with Visual C# 2012 3rd Edition by Tony Gaddis
Page 2
Chapter 1: Introduction to Computers and Programming
Available Study Resources on Quizplus for this Chatper
161 Verified Questions
161 Flashcards
Source URL: [Link]
Sample Questions
Q1) In addition to being much larger than the old electromechanical CPUs in early
computers, microprocessors are also less powerful.
A)True
B)False
Answer: False
Q3) Computer's can execute only programs that are written in assembly language.
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: [Link]
Sample Questions
Q1) The ____________ shows a description of the error, the source code file that
contains the error, the line number and column number of the error, and the name of the
project.
A) Debug dialog box
B) Crash pop up
C) Error List window
D) Just In Time debugger
Answer: C
Q2) ____________ allow you to resize a selected object in the Designer by clicking
and dragging the mouse when the mouse cursor becomes a two-headed arrow.
A) Bounding boxes
B) Sizing handles
C) ToolTips
D) Properties
Answer: B
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: [Link]
Sample Questions
Q1) When you store a value in a variable, that value replaces the previous value that was
in the variable.
A)True
B)False
Answer: True
Q2) Controls that display text have a ____________ property that allows you to
change the color of the text.
A) TextColor
B) ForeColor
C) FontColor
D) Color
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: [Link]
Sample Questions
Q1) Once you create a ListBox control, you add items to its Collection property.
A)True
B)False
Q2) All it takes for an && expression to be true is for one side of the && operator to be
true.
A)True
B)False
Q3) The ____________ 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) dual-alternative decision structure
B) comparative structure
C) multi-decision structure
D) branching structure
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: [Link]
Sample Questions
Q1) An important characteristic of the while loop is that the loop will always iterate at
least once, even if the Boolean expression is false to start with.
A)True
B)False
Q2) You can use the StreamReader class's ____________ to determine if the file's
read position is at the end of the file.
A) EndOfFile property
B) StreamEnd method
C) EndOfStream property
D) EOF method
Q3) When you run an application, the application's form is loaded into memory and an
event known as the ____________ takes place.
A) Load event
B) Launch event
C) Boot event
D) Initialization event
Q4) The first line of the for loop is known as the loop title.
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: [Link]
Sample Questions
Q1) The method header is always terminated with a semicolon.
A)True
B)False
Q2) When you call a method that has a reference parameter, you must also write the
keyword ref before the argument.
A)True
B)False
Q3) Methods usually belong to a class, so you must write a method's definition inside the
class to which it is supposed to belong.
A)True
B)False
Q5) Which of the following is the best choice for modularizing input validation?
A) Boolean methods
B) nested if statements
C) void methods
D) none of these
Sample Questions
Q1) Because variables hold only a single value, they can be cumbersome in programs
that process lists of data.
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) You can use subscript notation to access the items in a List, just as you can with an
array.
A)True
B)False
Q5) An array and the variable that references it are the same entity.
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
87 Verified Questions
87 Flashcards
Source URL: [Link]
Sample Questions
Q1) Like strings, enumerators must be enclosed in quotation marks.
A)True
B)False
Q2) In code, you can determine the number of images that are stored in an ImageList
control by getting the value of the control's ____________ property.
A) [Link]
B) [Link]
C) [Link]
D) GetLastImage
Q3) Once you have created an instance of a structure, you can access its fields using
the dot operator (a period).
A)True
B)False
Q4) In C#, string objects have a method named ____________ that is used to
tokenize the string.
A) Tokenize
B) Delimit
C) Break
D) Split
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: [Link]
Sample Questions
Q1) Because classes are reference types, objects that instances of a class are always
passed by reference.
A)True
B)False
Q2) An error will occur if you to try to assign a value to a read-only property.
A)True
B)False
Q4) You cannot overload methods by giving them different return types.
A)True
B)False
Q5) Writing each class in its own separate file makes your code more organized and
helps keep your source code files to a manageable size.
A)True
B)False
To view all questions and flashcards with answers, click on the resource link above.
Chapter 10: Inheritance and Polymorphism
Available Study Resources on Quizplus for this Chatper
37 Verified Questions
37 Flashcards
Source URL: [Link]
Sample Questions
Q1) When you create a derived class, the base class constructor is executed first, and
then the derived class constructor is executed.
A)True
B)False
Q2) A class that is not intended to be instantiated but is to be used only as a base class
is called a(n) ____________.
A) abstract class
B) dummy class
C) placeholder
D) entity class
Q3) To override the property in the ____________ you write the override keyword in
the property declaration.
A) parameterized constructor
B) base class
C) field declaration
D) derived class
Q4) You can think of the derived class as an extended version of the base class.
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: [Link]
Sample Questions
Q1) The application handles the actual reading of, writing of, and searching for data.
A)True
B)False
Q2) The equal to and not equal to operators in SQL are different from those in C#.
A)True
B)False
Q3) Rather than retrieving or manipulating the data directly, applications can send
instructions to the DBMS, and the DBMS carries out those instructions and sends the
results back to the application.
A)True
B)False
Q4) It is possible to change the type of control that a column is bound to in a Details
view.
A)True
B)False
Q5) The Not operator can be used in SQL to disqualify a character pattern in a search
criteria.
A)True
B)False