Skip to main content

Programming Fundamentals Study Guide Questions - 1094 Verified Questions

Page 1


Programming Fundamentals

Study Guide Questions

Course Introduction

Programming Fundamentals introduces students to the essential concepts and principles of computer programming. This course covers the basics of problem-solving techniques, algorithm development, and coding using a high-level programming language. Topics include variables, data types, operators, control structures (such as selection and iteration), functions, arrays, and simple data structures. Students will develop logical thinking skills and gain hands-on experience in writing, testing, and debugging programs, laying a strong foundation for more advanced studies in computer science and software development.

Recommended Textbook

Starting out with Visual C# 2012 3rd Edition by Tony Gaddis

Available Study Resources on Quizplus

11 Chapters

1094 Verified Questions

1094 Flashcards

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

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

Sample Questions

Q1) The entire process of creating a program is known as the ____________.

A) art of software development

B) program development cycle

C) computer science sequence

D) code-test-debug cycle

Answer: B

Q2) When you create a new project using Visual Studio, it will be stored in the _____________ at the location you specify on your computer's disk.

A) Solution folder

B) Project folder

C) Solution file

D) System file

Answer: A

Q3) An object must be created in memory before it can be used in a program.

A)True

B)False

Answer: True

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

Sample Questions

Q1) A(n) ____________ appears on one line in a program and begins with two forward slashes (//).

A) line comment

B) short comment

C) block comment

D) documentation comment

Answer: A

Q2) The standard Windows close button is the only way to close an application you create with Visual Studio.

A)True

B)False

Answer: False

Q3) The properties in the Properties window are displayed alphabetically by default. A)True

B)False

Answer: True

Q4) You cannot click and drag controls from the Toolbox onto the form.

A)True

B)False

Answer: False

Page 4

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

Chapter 3: Processing Data

Available Study Resources on Quizplus for this Chatper

174 Verified Questions

174 Flashcards

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

Sample Questions

Q1) The ____________ operator produces a string that is the combination of the two strings used as its operands.

A) +

B) =

C) *

D) &

Answer: A

Q2) A(n) ____________ specifies a variable's name and data type.

A) variable declaration

B) data indicator

C) object tag

D) source entity

Answer: A

Q3) A ____________ is a variable that is declared inside a class but not inside of any method.

A) named constant

B) field

C) namespace

D) property

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: https://quizplus.com/quiz/27180

Sample Questions

Q1) If the expression is true, the ! operator returns false, and if the expression is false, the ! operator returns true.

A)True

B)False

Q2) In C#, you use the if statement to write a single-alternative decision structure.

A)True

B)False

Q3) You can use the ____________ operator to compare two strings.

A) ||

B) &&

C) ==

D) !

Q4) Which one of the following expressions determines whether the value of the length variable is greater than or equal to the value of the width variable?

A) length < width

B) width <= length

C) length > width

D) length >= width

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: https://quizplus.com/quiz/27181

Sample Questions

Q1) The ____________ begins with the word while, followed by a Boolean expression that is enclosed in parentheses.

A) conditional statement

B) logic mark

C) while clause

D) loop parameter

Q2) Random numbers are useful for lots of different programming tasks.

A)True

B)False

Q3) The increment operator is ____________.

A) --

B) ++

C) -=

D) +=

Q4) A ____________, is an object that is associated with a specific file and provides a way for the program to work with that file.

A) file instance

B) file object

C) filename class

D) referential extension

Page 7

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

Chapter 6: Modularizing Your Code With Methods

Available Study Resources on Quizplus for this Chatper

61 Verified Questions

61 Flashcards

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

Sample Questions

Q1) A method that contains a(n) ____________ allows you to specify which parameter variable the argument should be passed to.

A) named argument

B) dynamic parameter

C) named constant

D) alternative argument

Q2) Default arguments were introduced in Visual C# 2010, so you cannot use them in older versions of C#.

A)True

B)False

Q3) A parameter variable's scope is the ____________ in which the parameter variable is declared.

A) namespace

B) class

C) field

D) method

Q4) Nested if statements can be useful for modularizing input validation.

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

Sample Questions

Q1) What special value are the elements of an array of reference type objects set to by default?

A) 0

B) void

C) -1

D) null

Q2) If you want to remove all the items from a List, you can call the ____________ method.

A) Clear

B) Reset

C) ClearAll

D) NewList

Q3) The storage locations in an array are known as ____________.

A) values

B) sectors

C) compartments

D) elements

Q4) 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: https://quizplus.com/quiz/27184

Sample Questions

Q1) Objects of the string data type have several methods that allow you to search for substrings.

A)True

B)False

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

A) class

B) structure

C) namespace

D) enumerated data type

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

A)True

B)False

Q4) You will find the ImageList control in the Components section of the Toolbox.

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

Sample Questions

Q1) All of the nouns that appear in the problem description should become classes.

A)True

B)False

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

A)True

B)False

Q3) Objects that are instances of a class cannot be stored in an array.

A)True

B)False

Q4) 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

Q5) You should never store classes in their own files.

A)True

B)False

To view all questions and flashcards with answers, click on the resource link above. Page 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/27186

Sample Questions

Q1) Which one of the following is a specialized version of a general food substance?

A) pizza

B) chocolate

C) ice cream

D) all of these

Q2) When one object is a specialized version of another object, there is a(n) ____________ between them.

A) 1:1 ratio

B) "is a" relationship

C) common bond

D) shared interest

Q3) A(n) ____________ is a method that appears in a base class but expects to be overridden in a derived class.

A) shadow method

B) base method

C) derived method

D) abstract method

Q4) You cannot assign a base class reference to a derived class variable.

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

Sample Questions

Q1) SQL provides several functions for performing calculations.

A)True

B)False

Q2) When specifying a data type for the columns in a database table, the data types that you can choose from are provided by the ____________.

A) DBMS

B) programming language

C) computer manufacturer

D) compiler

Q3) In SQL, strings are enclosed in ____________, not double quotes.

A) single quotes

B) underscores

C) asterisks

D) brackets

Q4) SQL does not support relational operators.

A)True

B)False

Q5) The data that stored in a table is organized into rows and columns.

A)True

B)False

Page 13

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

Turn static files into dynamic content formats.

Create a flipbook
Programming Fundamentals Study Guide Questions - 1094 Verified Questions by Quizplus - Issuu