Skip to main content

Introduction to Computer Science Exam Practice Tests - 1094 Verified Questions

Page 1


Introduction to Computer Science Exam Practice Tests

Course Introduction

Introduction to Computer Science provides students with a comprehensive overview of fundamental concepts in computing and programming. The course explores the principles of algorithmic thinking, problem-solving, and software development using a high-level programming language. Core topics include data types, control structures, functions, arrays, basic data structures, and object-oriented programming. Students also learn about the history of computing, hardware basics, and the social and ethical implications of technology. Through lectures, hands-on exercises, and projects, students will develop the foundational skills necessary for further study in computer science and related disciplines.

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) Data is not recorded magnetically on an optical disc but is encoded as a series of pits on the disc surface.

A)True

B)False

Answer: True

Q2) A(n) ____________ is a mistake such as a misspelled keyword, a missing punctuation character, or the incorrect use of an operator.

A) parsed anomaly

B) syntax error

C) code bug

D) illegal operation

Answer: B

Q3) A ____________ is a diagram that graphically depicts the steps of an algorithm. A) flowchart

B) billboard

C) schematic

D) formulaic hierarchy chart

Answer: A

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) Button controls have a ____________ property, which holds the text that is displayed on the face of the button.

A) Text

B) Name

C) Description

D) Face

Answer: A

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

Q3) By default, a Label control's text is aligned with the top and left edges of the label's bounding box.

A)True

B)False

Answer: True

Q4) A Label control's BorderStyle property is set to FixedSingle by default. Answer: NOT ANSWERED

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

Sample Questions

Q1) A ____________ holds only one value at a time.

A) program

B) data type

C) method

D) variable

Answer: D

Q2) A(n) ____________ performs a calculation and gives a value.

A) math expression

B) algorithm

C) data utility

D) variable

Answer: A

Q3) A variable declaration specifies three things about the variable: the variable's data type, the variable's name, and the variable's location in memory.

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

77 Verified Questions

77 Flashcards

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

Sample Questions

Q1) A switch statement's test expression can be of any data type.

A)True

B)False

Q2) The C# language provides a set of operators known as ____________, which you can use to create complex Boolean expressions.

A) Boolean operators

B) relational operators

C) logical operators

D) expressional operators

Q3) The ____________ method can be used to determine whether one string is greater than or less than another string.

A) String.Equals

B) String.Compare

C) String.IsGreater

D) String.String

Q4) The && and || logical operators have lower precedence than the relational operators, while the ! operator has higher precedence than the relational operators.

A)True

B)False

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) ListBox controls have an ____________ property that reports the number of items stored in the ListBox.

A) Items.Count

B) Items.Size

C) Items.List

D) Items.Contains

Q2) Be careful not to place a statement that modifies the counter variable in the body of the ____________.

A) while loop

B) if statement

C) for loop

D) switch statement

Q3) When you want to write data to a text file, you create a file object using the ____________.

A) TextReader class

B) TextWriter class

C) StreamReader class

D) StreamWriter class

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

7

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) It is a standard convention among C# programmers to use ____________ for method names because it differentiates method names from variable and field names.

A) camelCase

B) lowercase characters

C) Pascal case

D) uppercase characters

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

Q3) When working with value-returning methods, the data type of the value that the method returns is commonly called the method's ____________.

A) method value

B) named type

C) assigned value

D) return type

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) The memory that is allocated for a reference type variable is the actual location that will hold any value that is assigned to that variable.

A)True

B)False

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

Q3) Writing the contents of an array to a file is a straightforward procedure: Open the file and use a loop to step through each element of the array, writing its contents to the file.

A)True

B)False

Q4) The ref keyword creates and object in memory and returns a reference to the object it creates.

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) The char data type provides several methods for testing the value of a character.

A)True

B)False

Q2) When working with strings, you can use a subscript expression to change the value of a character.

A)True

B)False

Q3) ____________ are spaces that appear at the beginning of a string.

A) Leading spaces

B) Empty spaces

C) Indentations

D) Tabbed spaces

Q4) If you find yourself using a structure for more than simply encapsulating a set of variables into a single item, you should probably use a class.

A)True

B)False

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

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) The name of a class's constructor is the same as the name of the class.

A)True

B)False

Q2) A class is not an object but a description of an object.

A)True

B)False

Q3) Once a form has been created, it cannot be removed from a Visual Studio project.

A)True

B)False

Q4) It is perfectly legal to write a class without any constructors.

A)True

B)False

Q5) The ____________ is a method that returns the property's value.

A) Me method

B) get accessor

C) Show method

D) this.Value method

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

A)True

B)False

Page 11

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

Sample Questions

Q1) New fields, properties, and methods cannot be added to the derived class.

A)True

B)False

Q2) Properties in a base class can be overridden in the same way that methods can be overridden.

A)True

B)False

Q3) The ____________ is the general class.

A) starting object

B) default design

C) base class

D) derived class

Q4) A method that accepts a base class variable as a parameter cannot accept a derived class variable as a parameter.

A)True

B)False

Q5) In the real world you can find many objects that are specialized versions of more general objects.

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) When you create a database table, you must specify a data type for the columns.

A)True

B)False

Q2) Data-bound controls automatically display data from the data source and can be used to change the data that they are bound to.

A)True

B)False

Q3) Each subsequent time an application runs, it connects to the copy of the database in the output folder instead of the project folder.

A)True

B)False

Q4) A(n) ____________ is software that is specifically designed to store, retrieve, and manipulate large amounts of data in an organized and efficient manner.

A) search engine

B) database management system (DBMS)

C) integrated development environment (IDE)

D) productivity suite

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

13

Turn static files into dynamic content formats.

Create a flipbook