

![]()


Programming Logic and Design introduces students to the foundational concepts and techniques used in computer programming and problem solving. Emphasizing structured programming, algorithm development, and flowcharting, the course covers key logical constructs such as sequence, selection, and iteration. Students learn how to analyze problems, design step-by-step solutions, write pseudocode, and create flowcharts to visually represent algorithms. The course serves as a vital precursor to actual coding by reinforcing the importance of logical thinking, clarity, and precision in designing computer programs, ensuring students are well-prepared to progress to study in specific programming languages.
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) The _________ identifies the range of the values an input item includes.
Answer: domain
Q2) As far as the compiler is concerned,you could actually type the entire program without touching the Enter key.
A)True
B)False
Answer: True
Q3) Programmers commonly verify that their design is correct by doing a(n)_____________.
Answer: desk check
Q4) Using the object-oriented approach,a(n)____ is a combined set of attributes and actions.
A) algorithm
B) prototype
C) abstraction
D) class
Answer: D
Q5) The most important and frequently used __________ is System. Answer: namespace
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) The binary value for ten is 00001010.
A)True
B)False
Answer: True
Q2) Which of the following is a valid identifier?
A) score#1
B) amount owed by student
C) finalGrade
D) 4thExam
Answer: C
Q3) A variable of type bool can store ____.
A) "true"
B) TRUE
C) true
D) all of the above
Answer: C
Q4) In order to place a value in memory that cannot be changed,you add the keyword ____________ to the declaration.
Answer: const
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) An advantage of using named parameters is: ____.
A) program runs more efficiently because the named parameters can be accessed
B) program runs faster
C) you can send in values through using the names of the parameters instead of having to worry about getting the exact order
D) default values can be used
Answer: C
Q2) The access modifier in the heading above is the keyword ____.
A) public
B) static
C) void
D) Main( )
Answer: A
Q3) The Write( ),WriteLine( ),Read( ),and ReadLine( )methods are all overloaded.
A)True
B)False
Answer: False
Q4) When you assign a default value to a parameter,it then becomes a(n)____________ parameter.
Answer: optional

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) The ToString( )method is automatically invoked when the Write( )or WriteLine( )methods are called.
A)True
B)False
Q2) When you define a class and determine what data members it should have,you are declaring instance variables or fields that will represent the state of an object.
A)True
B)False
Q3) The body of the constructor methods consist primarily of ____________.
Q4) The ToString( )method is automatically invoked when an object reference is made in the ____.
A) class constructor
B) Write( ) method
C) mutator method
D) object class
Q5) When you create an application that has two files,both must have a Main( )method.
A)True B)False
To view all questions and flashcards with answers, click on the resource link above. Page 6

Available Study Resources on Quizplus for this Chatper
75 Verified Questions
75 Flashcards
Source URL: https://quizplus.com/quiz/9094
Sample Questions
Q1) Which of the following statements is NOT true regarding switch statements?
A) The expression is sometimes called the selector.
B) Default is only executed when there is no match.
C) Default is required.
D) A variable cannot be used as the case label.
Q2) if (value1 > value2) largestOne = value1;
Else
If (value1 < value2)
LargestOne = value2;
Else
LargestOne = -(value1);
Using the nested if program statements,assuming value1 is 100 and value2 is 100,what is stored in largestOne above?
A) value1
B) value2
C) -(value1)
D) not enough information is given
Q3) By properly ____________ the else clauses with their corresponding if clauses,you encounter fewer logic errors that necessitate debugging.
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) Inside the for statement,when you place a semicolon after the parentheses without anything to the left of it,it indicates that no statement or a(n)____________ statement is associated with the initialize portion.
Q2) An interpretation of the while statement is "while the condition is true,perform statement(s)".
A)True
B)False
Q3) The do...while statement is a posttest loop,which means that the conditional expression is tested before any of the statements in the body of the loop are performed.
A)True
B)False
Q4) In order to use the MessageBox.Show( )method,you need to not only add a reference to the namespace which includes the class,but also add a using directive to the program statements.
A)True
B)False
Q5) A sentinel value is a(n)____________.It is a value that should not be processed.
Q6) A(n)____________ is a loop that has no provisions for termination.
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) The index is also referred to as the ____ of the array.
A) value
B) element
C) size
D) subscript
Q2) You can declare an array without dimensioning its size,but the size must be determined before you can access it.
A)True
B)False
Q3) Because arrays are reference types,the ref keyword is required with the argument and parameter list.
A)True
B)False
Q4) Given an array declared to hold 100 values,the largest index that can be used with the array is:
A) based on what index is used when the first value is placed in the array
B) 99
C) 100
D) undetermined
Q5) The first element of an array is always referenced by index ____________.
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
Q1) C# is a row major language,which means you specify the column index ____________ when you reference elements in a two-dimensional array.
Q2) The method ____ of the ArrayList class returns an arraylist that is a subset of another arraylist.
A) GetSubList( )
B) InsertRange( )
C) SubList( )
D) GetRange( )
Q3) The ArrayList class requires you to add and remove elements to/from the structure using Push( )and Pop( )methods.
A)True
B)False
Q4) The string type allows individual characters to be accessed using an index with [ ]. A)True
B)False
Q5) The ____________ are defined to compare the contents of strings instead of comparing their addresses.
Q6) The property ____________ returns the number of dimensions of the array.
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) The ____ method of the Control class sets the input focus.
A) Select( )
B) Focus( )
C) Set( )
D) Control( )
Q2) Which property can be set to indicate whether text in the TextBox is read-only or not?
A) InputOnly
B) AcceptsText
C) ReadOnly
D) TextInputOnly
Q3) What are objects,such as buttons,menus,and labels,that can display and respond to user interaction,called?
A) controls
B) interfaces
C) events
D) containers
Q4) All changes to the property values can be made in the ____________ window at design time.
Q5) When a button is clicked by a user,its ____________ is automatically called up.
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) To have the ListBox or ComboBox Items arranged in alphabetical order ____.
A) the values must be originally type in the desired order.
B) use a drag and drop approach move the items into their correct order.
C) set the Sorted property to true.
D) set the Ordered property to ascending or descending.
Q2) 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
Q3) What is the name of the default event handler method for RadioButton and CheckBox objects?
A) Click( )
B) SelectedIndexChanged( )
C) KeyPress( )
D) CheckChanged( )
Q4) When you define a delegate type,you identify what types of methods the delegate represents.
A)True
B)False
To view all questions and flashcards with answers, click on the resource link above. Page 12

Available Study Resources on Quizplus for this Chatper
75 Verified Questions
75 Flashcards
Source URL: https://quizplus.com/quiz/9100
Sample Questions
Q1) The Unified Modeling Language (UML)notation for the interfaces specifies that the name of the Interface methods should appear in italics.
A)True
B)False
Q2) Polymorphic programming is associated with the ____________.You do not have to know how the method goes about doing its work.All you have to know is what arguments to send,if any,and what you expect to be accomplished when the object finishes its work.
Q3) The distinguishing characteristic of an abstract method is ____.
A) no implementation details are included
B) they cannot be included in abstract classes
C) no parameters are found in the heading for the method
D) methods may not include a return type
Q4) All .NET languages support multiple inheritance.
A)True
B)False
Q5) You can think of an interface as a class that is totally ____________.
To view all questions and flashcards with answers, click on the resource link above. Page 13
Q6) Through ____________ the CLR determines which method to call at run time based on which object calls the method.

Available Study Resources on Quizplus for this Chatper
75 Verified Questions
75 Flashcards
Source URL: https://quizplus.com/quiz/9101
Sample Questions
Q1) The catch clause associated with a try...catch can be omitted as long as you have a finally block.
A)True
B)False
Q2) All exception classes inherit from the ____ class.
A) SystemException
B) Exception
C) ApplicationException
D) BaseExcecption
Q3) When you write your own exceptions,the new class should be derived from ____.
A) Exception
B) System.ApplicationException
C) System.SystemException
D) System.RunTimeException
Q4) Syntax errors are normally associated with programs that run but produce incorrect results.
A)True
B)False
Q5) Custom exceptions must derive from the ____________ class.
Q6) C# adheres to a fairly sophisticated set of rules known as C# ____________.
To view all questions and flashcards with answers, click on the resource link above. Page 14

Available Study Resources on Quizplus for this Chatper
75 Verified Questions
75 Flashcards
Source URL: https://quizplus.com/quiz/9102
Sample Questions
Q1) The FileDialog class has a property called ____,which is used by both the OpenFileDialog and SaveFileDialog classes to set or get the name of the file using a dialog box.
A) Text
B) Name
C) FileName
D) ID
Q2) The abstract classes of Stream,TextWriter,and TextReader are defined for dealing with files in the ____ namespace.
A) System.IO
B) System.Files
C) System
D) System.Stream
Q3) No exception is thrown if you attempt to close or open a file that does not exist.
A)True
B)False
Q4) If you attempt to access a file and have an invalid path listed in the constructor,a(n)____________ exception is thrown.
To view all questions and flashcards with answers, click on the resource link above. Page 15

Available Study Resources on Quizplus for this Chatper
75 Verified Questions
75 Flashcards
Source URL: https://quizplus.com/quiz/9103
Sample Questions
Q1) One of the visual tools that provides a graphical representation of the dataset object and enables you to set relationships between tables is the ____.
A) Data Sources Wizard
B) Data Designer
C) DataSet Designer
D) Configuration Designer
Q2) Data is stored in tabular format for a relational database.Each row in the table represents a(n)____.
A) table
B) field
C) key
D) record
Q3) When you select the TableAdapter object (from the component tray)and view its properties,you will not see the SelectCommand,InsertCommand,UpdateCommand,and DeleteCommand properties.In order to change the SQL statements associated with those properties,you need to use the DataSet Designer and modify the ____________ for these properties.
Q4) 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) What special attribute can be added to a control's tag in the XHTML file to make the control visible or accessible to the Web server?
A) runat="server"
B) OnClick( )
C) <asp:visible>
D) <serverControl>
Q2) Static web pages end with file extensions,namely ____.
A)htm
B)asp
C)aspx
D)asmx
Q3) In addition to dragging a validation control to the form,you must set the ____ property in order to tie the validation control to a specific form control object.
A) RequiredFieldValidator
B) ControlToValidate
C) ErrorMessage
D) RegularExpressionValidator
To view all questions and flashcards with answers, click on the resource link above.

17