

![]()


Introduction to Programming provides students with a foundational understanding of computer programming concepts and problem-solving strategies. The course explores key topics such as algorithms, variables, data types, operators, control structures (loops and conditionals), functions, and basic data structures. Emphasizing hands-on practice, students use a programming language typically Python or Java to write, test, and debug simple programs. By the end of the course, students will have developed the skills necessary to design, implement, and analyze basic algorithms, laying the groundwork for more advanced studies in computer science and software development.
Recommended Textbook
C# Programming From Problem Analysis to Program Design 4th Edition by Barbara Doyle
Available Study Resources on Quizplus
15 Chapters
1124 Verified Questions
1124 Flashcards
Source URL: https://quizplus.com/study-set/492 Page 2

Available Study Resources on Quizplus for this Chatper
75 Verified Questions
75 Flashcards
Source URL: https://quizplus.com/quiz/9090
Sample Questions
Q1) Procedural and object-oriented are the two commonly used design methods.
A)True
B)False
Answer: True
Q2) Which method of the Console class allows multiple characters to be input via the keyboard?
A) Write( )
B) Read( )
C) Input( )
D) ReadLine( )
Answer: D
Q3) C# has a set of rules,called _________,that must be followed.
Answer: syntax
Q4) During the first phase of software development,you should make sure you understand the problem definition.
A)True
B)False
Answer: True
Q5) ___________ marks the end of a block comment. Answer: */
To view all questions and flashcards with answers, click on the resource link above. Page 3

Available Study Resources on Quizplus for this Chatper
75 Verified Questions
75 Flashcards
Source URL: https://quizplus.com/quiz/9091
Sample Questions
Q1) Given the following declarations,what is stored in ans as a result of the arithmetic expression? int ans = 0,v1 = 5,v2 = 8; Ans = v2 % v1++;
A) 1.3333
B) 1.6
C) 2
D) 3
Answer: D
Q2) A variable of type bool can store ____.
A) "true"
B) TRUE
C) true
D) all of the above
Answer: C
Q3) ____________ operators provide a shortcut way to write assignment statements using the result as part of the computation.
Answer: Compound
Q4) A megabyte is approximately a(n)____________ bytes. Answer: million
To view all questions and flashcards with answers, click on the resource link above. Page 4
Available Study Resources on Quizplus for this Chatper
75 Verified Questions
75 Flashcards
Source URL: https://quizplus.com/quiz/9092
Sample Questions
Q1) Methods that use the static modifier are called class methods.
A)True
B)False
Answer: True
Q2) The body of a method can include statements that declare other methods.
A)True
B)False
Answer: False
Q3) A standard convention used by C# programmers is to use Pascal case style for class,data member identifiers,and method identifiers.
A)True
B)False
Answer: False
Q4) The ____ of an identifier is the region of the program in which that identifier is usable.
A) access
B) scope
C) modifier
D) declaration
Answer: B

Page 5
To view all questions and flashcards with answers, click on the resource link above.
Available Study Resources on Quizplus for this Chatper
75 Verified Questions
75 Flashcards
Source URL: https://quizplus.com/quiz/9093
Sample Questions
Q1) After a project has been created and a new class added to your application,you can use the ____________ Window in Visual Studio to create a class diagram.
Q2) If berber is an object,the statement Console.Write(berber);automatically invokes the ____________ method.
Q3) Which of the following is true regarding methods of a class?
A) You must use the keyword static.
B) They are called instance methods.
C) To call methods of the class in the class, you must prefix the method name with the class name.
D) No return type is used when you define a class method.
Q4) The static keyword must not be used with ____.
A) data members
B) instance methods
C) class methods
D) all of the above
Q5) Data members should be defined with an access mode of ____________.
Q6) The default constructor normally has an empty body.
A)True
B)False

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

Available Study Resources on Quizplus for this Chatper
75 Verified Questions
75 Flashcards
Source URL: https://quizplus.com/quiz/9094
Sample Questions
Q1) ____________ operators allow you to test variables to see if one is greater or less than another variable or value.
Q2) A conditional expression is also referred to as a(n)____________.
Q3) The equality operator in C# is ____.
A) = B) != C) == D).equals
Q4) The conditional operator,also called the ____________ provides another way to express a simple if...else selection statement.
Q5) The switch statement case value can evaluate to all of the following EXCEPT ____. A) double B) int C) string D) char
Q6) These categories are referred to as the basic programming constructs are simple sequence,iteration and ____________.
To view all questions and flashcards with answers, click on the resource link above. Page 7

Available Study Resources on Quizplus for this Chatper
75 Verified Questions
75 Flashcards
Source URL: https://quizplus.com/quiz/9095
Sample Questions
Q1) With while loops,if the conditional expression evaluates to true,the body of the loop is not performed;control transfers to the statements following the loop.
A)True
B)False
Q2) The ____________ statement is a pretest form of loop which is considered a specialized form of the while statement and is usually associated with counter-controlled types of loops;
Q3) for (int i = 0;i < 10;i++) { Console.WriteLine("counter " + i); }
The variable i defined in the program segment above ____. A) is out of scope when the loop terminates B) creates an error because it is changed in the update portion C) would have a value of 10 if it were printed on the outside of the loop D) can be displayed prior to the loop program statements
Q4) A state-controlled loop should be designed when you know the number of times the statements must be executed.
A)True
B)False
To view all questions and flashcards with answers, click on the resource link above. Page 8

Available Study Resources on Quizplus for this Chatper
75 Verified Questions
75 Flashcards
Source URL: https://quizplus.com/quiz/9096
Sample Questions
Q1) Because arrays are reference types,the ref keyword is required with the argument and parameter list.
A)True
B)False
Q2) Given an array declaration of int anArray[1000],which of the following would be a valid call to a DisplayContents( )method to send the full array into the method as an argument?
A) DisplayContents(int anArray[1000])
B) DisplayContents(anArray[1000])
C) DisplayContents(anArray[ ] )
D) DisplayContents(anArray)
Q3) When you do a compile-time initialization of array elements,values are separated by ____________.
Q4) All arrays are objects of the base type Array class.
A)True
B)False
Q5) The type used in the foreach expression must match the array type.
A)True
B)False
Q6) Use the ____________ keyword to instantiate an object of an array.
Page 9
To view all questions and flashcards with answers, click on the resource link above.

Available Study Resources on Quizplus for this Chatper
75 Verified Questions
75 Flashcards
Source URL: https://quizplus.com/quiz/9097
Sample Questions
Q1) Which class represents a First-In-First-Out (FIFO)collection,which is useful for storing objects in the order they were received for sequential processing?
A) Queue
B) HashTable
C) Stack
D) ArrayList
Q2) The string type allows individual characters to be accessed using an index with [ ].
A)True
B)False
Q3) Strings are considered ____________ because once you give a string a value;it cannot be modified.Methods that seem to be modifying a string are actually returning a new string containing the modification.
Q4) A two dimensional array is accessed much like you access cells in a spreadsheet. A)True B)False
Q5) In C#,the string type allows individual characters to be accessed using a(n)____________ with the [ ].
To view all questions and flashcards with answers, click on the resource link above. Page 10

Available Study Resources on Quizplus for this Chatper
75 Verified Questions
75 Flashcards
Source URL: https://quizplus.com/quiz/9098
Sample Questions
Q1) A derived class ____ methods of another class.
A) inherits
B) overrides
C) extends
D) declares
Q2) For both Windows applications,execution begins with the first statement in the ____________ method.
Q3) The ____________ property for the form can be set to a specific button to allow the Enter key to be associated with that button,so that pressing the Enter key is the same as clicking the button.
Q4) In a Windows application,Application.Run(winForm);____.
A) appears as the first line of code in the application
B) causes all the controls on the form to become interactive
C) places the application in a process loop so that it receives messages from the operating system
D) calls on an event handler method to run a method to handle an event
Q5) A large field of research in the field of computing is focused on ____________.The research concentrates on the design and implementation of interactive computing systems for human use.
To view all questions and flashcards with answers, click on the resource link above. Page 11

Available Study Resources on Quizplus for this Chatper
74 Verified Questions
74 Flashcards
Source URL: https://quizplus.com/quiz/9099
Sample Questions
Q1) The default setting for the ComboBox object's DropDownStyle property,is DropDown.Retaining this setting prohibits new text from being entered into the ComboBox.
A)True
B)False
Q2) The SelectionMode property of the ListBox object ____.
A) enables multiple selections to be made
B) determines whether you can use the mouse or the keyboard C) sets which of the items is initially selected D) determines whether use selections can be added
Q3) ListBox objects have an added feature in that they contain their own text box field as part of the object.
A)True
B)False
Q4) A(n)____________ is an underlined character in the text of an menu item or on the label of a control such as a button that enables user to click the button,without using the mouse,by pressing the Alt key in combination with the predefined character.
Q5) The default event-handler method for CheckBox objects is ____________.
Q6) The ____________ event fires when a key is pressed while the control has focus.
Page 12
To view all questions and flashcards with answers, click on the resource link above.

Available Study Resources on Quizplus for this Chatper
75 Verified Questions
75 Flashcards
Source URL: https://quizplus.com/quiz/9100
Sample Questions
Q1) A(n)____________ method uses the same identifier as other method,but has a different number and/or type of parameter from the other one.
Q2) Both var and ____________ enables developers to not associate a specific data type to the actual data when the memory declaration for the variable is written.
Q3) ____________ allows you to create a general class and then define specialized classes that have access to the members of the general class.
Q4) Components that can be referenced from any number of applications are created as class library files with a dynamic link library (DLL)extension.
A)True
B)False
Q5) If you do not want subclasses to be able to provide new implementation details,you can add the keyword ____ to methods.Doing so keeps derived classes from being able to override the method.
A) partial
B) abstract
C) virtual
D) sealed
To view all questions and flashcards with answers, click on the resource link above. Page 13
Available Study Resources on Quizplus for this Chatper
75 Verified Questions
75 Flashcards
Source URL: https://quizplus.com/quiz/9101
Sample Questions
Q1) With a generic catch,any type of exception is handled by the catch code.
A)True
B)False
Q2) Only one breakpoint can be set in an application.
A)True
B)False
Q3) A listing of all the methods that are in the execution chain when an exception is thrown is called a(n)____.
A) exception list
B) method list
C) stack trace
D) chain of methods
Q4) Writing the catch clause without an argument list is the same as writing
Q5) The code that you want executed,whether an exception is thrown or not,is placed in the ____ block.
A) try
B) catch
C) finally
D) if

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

Available Study Resources on Quizplus for this Chatper
75 Verified Questions
75 Flashcards
Source URL: https://quizplus.com/quiz/9102
Sample Questions
Q1) NET Framework includes the ____________ namespace,which provides basic file and directory support classes.It also contains types that enable you to read and write files and data streams.
Q2) Assume that an object of the DirectoryInfo is instantiated using the identifier dirListing.How could you retrieve the names of all files stored in dirListing that have a file extension of .cs?
A) foreach(FileInfo fil in dirListing.GetFiles("*.cs"))
B) foreach(FileInfo fil in dirListing.GetFiles("cs"))
C) foreach(DirectoryInfo dirListing in File.GetFiles("*.cs"))
D) foreach(DirectoryInfo dirListing in File.GetFiles("cs"))
Q3) Which of the following class belongs to the System.IO namespace?
A) FileNotFoundException
B) DirectoryException
C) EndOfStreamException
D) System.InvalidException
Q4) Binary files can not be read using notepad.
A)True
B)False
Q5) A(n)____________ is considered a named collection of bytes having persistent or lasting storage.
Page 15
To view all questions and flashcards with answers, click on the resource link above.

Available Study Resources on Quizplus for this Chatper
75 Verified Questions
75 Flashcards
Source URL: https://quizplus.com/quiz/9103
Sample Questions
Q1) A Data Source Configuration Wizard is available in Visual Studio to automatically generate the connection string,create dataset and table adapter objects,and bring the data into an application.
A)True
B)False
Q2) Selecting Add New Data Source from the Data menu enables you to create a new SQL Server database.
A)True
B)False
Q3) You use the data adapter object to populate the data reader object.
A)True
B)False
Q4) When the connection string is saved with the application,it is stored in the ____.
A) App.config file
B) data.file
C) solutions.settings file
D) connection.String file
Q5) Typically when you are programming for database access,you use a(n)____________.
To view all questions and flashcards with answers, click on the resource link above. Page 16
Available Study Resources on Quizplus for this Chatper
75 Verified Questions
75 Flashcards
Source URL: https://quizplus.com/quiz/9104
Sample Questions
Q1) ASP.NET pages end with a(n)____ file extension.
A)asp
B)net
C)asmx
D)aspx
Q2) There are several models used for building ASP.NET Web sites.The ____________ is closer to the Windows Forms event-based programming model.It enables you to use server controls,encapsulating HTML and CSS so dynamic applications can be created and enables you to incorporate rich user interface controls,like data grids,into your application.
Q3) The server loads an ASP.NET Web page every time it is requested by a client browser and then unloads it back to the browser after it processes the server-side code to render the HTML.
A)True
B)False
Q4) To set the message for an Input text field use the ____ property.
A) Text
B) Input
C) Value
D) Field

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