

Introductory Programming for Engineers
Exam Questions
Course Introduction
This course provides an essential introduction to programming concepts for engineering students, focusing on problem-solving and algorithmic thinking using a modern programming language such as Python or MATLAB. Students will learn foundational programming topics such as data types, control structures, functions, debugging, and basic data structures, with an emphasis on applying these concepts to engineering problems. Through hands-on assignments and projects, the course equips students with practical skills to model, analyze, and solve engineering challenges computationally.
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) Words having a predefined meaning in a high-level language are known as ____________ or reserved words.
A) mnemonics
B) pseudonyms
C) keywords
D) semantics
Answer: C
Q2) An object must be created in memory before it can be used in a program.
A)True
B)False
Answer: True
Q3) When you write a program using a low-level language, you use objects to accomplish specific tasks.
A)True
B)False
Answer: False
Q4) RAM memory retains its contents when a computer is turned off.
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/20996
Sample Questions
Q1) If you double-click an error message in the Error List window, the code editor will highlight and display the line of code that caused the error.
A)True
B)False
Answer: True
Q2) The standard Windows close button is the only way to close a running application in Visual Studio.
A)True
B)False
Answer: False
Q3) Block comments make it easier to write long explanations because you do not have to mark every line with a comment symbol.
A)True
B)False
Answer: True
Q4) In C#, string literals must be enclosed in double quotation marks.
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) Which one of the following assignment statements will cause an error because of mismatching data types?
A) decimal cost = 0.99m;
B) decimal retail = 100;
C) decimal wholesale = 50.0;
D) decimal fee = 0.01m;
Answer: C
Q2) Constant names must always be written in uppercase letters.
A)True
B)False
Answer: False
Q3) A field is visible to all methods within the same class.
A)True
B)False
Answer: True
Q4) When you assign a double value to a decimal variable, the double value is implicitly converted to a decimal with no loss of data.
A)True
B)False
Answer: False
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) 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
Q2) RadioButton controls have a ____________ property that determines whether the control is selected or deselected.
A) Selected
B) Checked
C) Pushed
D) Active
Q3) A ____________ appears as a small box with some accompanying text.
A) list box
B) link
C) check box
D) radio button
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
112 Verified Questions
112 Flashcards
Source URL: https://quizplus.com/quiz/20999
Sample Questions
Q1) In code, you can display an Open dialog box by calling the OpenFileDialog control's OpenDialog method.
A)True
B)False
Q2) When working with files, you can write a try-catch statement to handle unexpected errors.
A)True
B)False
Q3) The do-while loop always performs at least one iteration, even if its Boolean expression is false to begin with.
A)True
B)False
Q4) A ____________ contains data that has been encoded as text using a scheme such as ASCII.
A) document (as on MS-Word or Open-Document Format)
B) spreadsheet (as in Excel)
C) binary file
D) text file
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 that has an output parameter, you must also write the keyword out before the argument.
A)True
B)False
Q2) A value-returning statement must have a(n) ____________ statement.
A) return
B) assignment
C) logical
D) void
Q3) When a method is declared with the private access modifier, it can be called only by code inside the same class as the method.
A)True
B)False
Q4) Suppose you're using the debugger to step through a method, and you want to immediately return to the place in the program where the method was called. The Step Return command will accomplish this.
A)True
B)False
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/21001
Sample Questions
Q1) C# provides a special loop known as the ____________, that automatically iterates once for each element in the array.
A) do-while loop
B) foreach loop
C) for loop
D) while loop
Q2) Look at the following code sample: int[,] values = { { 1, 2, 3, 4 }, { 5, 6, 7, 8 } };
What is the value stored in values[1, 2]?
A) 2
B) 3
C) 6
D) 7
Q3) When you use either the ref or out keywords before an array parameter, the receiving method does not automatically make a local copy of the array.
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) Because enumerators represent integer values, they can be used in a loop to step through the element of an array.
A)True
B)False
Q2) The char data type provides a single method that determines whether a character is a letter or number.
A)True
B)False
Q3) When you tokenize a string entered by the user and the string contains characters other than white spaces as delimiters, you do not need to trim the string before tokenizing it.
A)True
B)False
Q4) The string data type has several methods that allow you to search for substrings.
A)True
B)False
Q5) A variable of the char data type can hold up to 256 characters at a time. 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/21003
Sample Questions
Q1) Some programmers begin the names of backing fields with an underscore to eliminate confusion between the field name and the property name.
A)True
B)False
Q2) If you wish to remove a form from a project but you do not want to delete its file from the disk, first right-click on the form's entry in the Solution Explorer window, and on the pop-up menu, click ____________.
A) Hide Form Only
B) Remove From Project
C) Archive Form Data
D) Exclude From Project
Q3) Designing an object-oriented application is an iterative process.
A)True
B)False
Q4) In your application's code, the first step in displaying a form is to create an instance of the form's class.
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: https://quizplus.com/quiz/21004
Sample Questions
Q1) The term ____________ refers to an object's ability to take different forms.
A) adaptation
B) polymorphism
C) portability
D) code reuse
Q2) A statement that tries to use the new operator instantiate an abstract class will not compile.
A)True
B)False
Q3) A variable declared as a base class type can only be used to reference members declared in the ____________.
A) derived class
B) base class
C) abstract class
D) parameterless constructor
Q4) Only methods in a 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/21005
Sample Questions
Q1) A database management system stores data in a ____________ .
A) text file
B) binary file
C) database
D) source file
Q2) It is possible to change the type of control that a column is bound to in a Details view.
A)True
B)False
Q3) To bind a ListBox control to a column, you must set two of the controls properties: DataSource and DisplayMember.
A)True
B)False
Q4) The ____________ identifies a column from the table to display in a ListBox control.
A) ShowColumn property
B) column name
C) DisplayMember property
D) DataSource property
To view all questions and flashcards with answers, click on the resource link above. Page 13