Skip to main content

Computer Science I Test Questions - 1111 Verified Questions

Page 1


Computer Science I Test Questions

Course Introduction

Computer Science I introduces students to the fundamental principles of programming and computational thinking. The course covers the design, implementation, and testing of algorithms using a high-level programming language. Topics include variables, data types, control structures, functions, arrays, and basic object-oriented concepts. Students also learn about problem-solving strategies and gain hands-on experience through programming assignments and projects. This foundational course prepares students for further study in computer science and related disciplines.

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) A(n) ____________ is any device that works with binary data.

A) electronic module

B) digital device

C) binary machine

D) computational tool

Answer: B

Q2) The fewer samples per second a song is divided into, the more it sounds like the original music when it is played back.

A)True

B)False

Answer: False

Q3) When you create a Visual C# application, use the ____________ window to examine and change a control's properties.

A) Properties

B) Solution Explorer

C) Designer

D) Attributes

Answer: A

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

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) In C#, the equal sign (=) is known as the ____________.

A) equality operator

B) parity operator

C) assignment operator

D) transfer operator

Answer: C

Q2) The ____________ property allows you to set the font, font style, and size of a control's text.

A) Appearance

B) Text

C) Font

D) Graphics

Answer: C

Q3) Changing a form's Text property will change the form's name.

A)True

B)False

Answer: False

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 statements assigns the value contained in the Text property of a TextBox control named ageTextBox to the Text Property of a Label control named ageLabel?

A) ageLabel = ageTextBox;

B) ageTextBox.Text = ageLabel.Text;

C) ageLabel.Text = ageTextBox.Text;

D) ageTextBox = ageLabel;

Answer: C

Q2) To convert a the contents of a string to any of the numeric data types, we use a family of methods in the .NET Framework known as the ____________.

A) Convert methods

B) itoa methods

C) ToString methods

D) Parse methods

Answer: D

Q3) The C# compiler will compile code that attempts to use an unassigned variable. 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) ____________ are useful when you want the user to select one choice from several possible choices.

A) Radio buttons

B) Check boxes

C) Buttons

D) Text boxes

Q2) Once you create a ListBox control, you add items you wish to display to its

A) Display property

B) Text property

C) Items property

D) Values property

Q3) An action that is ____________ occurs only when a certain condition is true.

A) conditionally executed

B) logically executed

C) interactively driven

D) truth bound

Q4) Variables of the double data type are commonly used as flags.

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

112 Verified Questions

112 Flashcards

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

Sample Questions

Q1) The ____________ is a posttest loop, which means it performs an iteration before testing its Boolean expression.

A) for loop

B) while loop

C) do-while loop

D) do-before loop

Q2) When a program writes to an output file, a special value known as a translator keeps track of the current position in the file.

A)True

B)False

Q3) The ____________ is a method in by the StreamWriter class that writes an string to a text file without writing a newline character.

A) Print method

B) Text method

C) WriteLine method

D) Write method

Q4) It is possible to write a for loop in such a way that it will never iterate.

A)True

B)False

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) The statements that make up the method body are enclosed inside a set of curly braces.

A)True B)False

Q2) If you provide a default argument for the first parameter in a list, you do not need to provide default arguments for the remaining parameters.

A)True

B)False

Q3) void methods are useful for simplifying complex conditions that are tested in decision and repetition structures.

A)True

B)False

Q4) When you call a method that has an output parameter, you must also write the keyword out before the argument.

A)True B)False

Q5) The method header is always terminated with a semicolon. 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) With what value should the accumulator variable be initialized to calculate the total of all values in a numeric array?

A) null

B) false

C) 0

D) 1

Q2) You can store a variety of data types in an array.

A)True

B)False

Q3) The first step in calculating the average of all values in a numeric array is to get the total of the values, and the second step is to multiply the total by the number of elements in the array.

A)True

B)False

Q4) To access an item that is stored in a particular row and column in a jagged array, you enclose the row and column subscripts in their own pairs of brackets..

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) Unlike other types of objects, you cannot pass a structure object as an argument to a method.

A)True

B)False

Q2) When you declare an enumerated type, the enumerators are automatically assigned integer values, starting with 0, unless you provide other specific values.

A)True

B)False

Q3) You can use the assignment operator (=) to assign one structure object to another.

A)True

B)False

Q4) You can use a subscript expression such as name[3]='A' to change the value of a character within a string.

A)True

B)False

Q5) You can assign an enumerator directly to an int variable.

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) Once you have added a form to a project, you can place any controls on it and write the necessary event handlers for the controls.

A)True

B)False

Q2) The name of a class's constructor is the same as the name of the class.

A)True

B)False

Q3) To add an object of a class to a List, you use the ____________ method.

A) Class

B) Add

C) Insert

D) New

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

A)True

B)False

Q5) A form can be both modal and modeless.

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

Sample Questions

Q1) In object oriented programming, ____________ is used to create an "is a" relationship among classes.

A) inheritance

B) progression

C) logic

D) elimination

Q2) The ____________ inherits fields, properties, and methods from the base class without any of them having to be rewritten.

A) super instance

B) derived class

C) initialized object

D) copy class

Q3) A class that is not intended to be instantiated but is to be used only as a base class is called a concrete class.

A)True

B)False

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

Sample Questions

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

Q2) When you click on the ____________ in a data-bound control, a tasks panel will appear, giving you a number of options you can perform.

A) options check box

B) smart tag

C) view button

D) taskbar

Q3) In SQL, the ____________ can be used to search for a substring.

A) Sub method

B) Contains statement

C) Who instruction

D) Like operator

Q4) Data stored in databases is organized into one or more tables.

A)True

B)False

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

Turn static files into dynamic content formats.

Create a flipbook
Computer Science I Test Questions - 1111 Verified Questions by Quizplus - Issuu