Logo TestGru USA
Home Categories Forum Login Support
This test is for educational purposes only. Our platform is not operated by the College Board, DMV, or any official government agency. For official exam information, visit the relevant agency websites.

US Major Computer Science Test 4

Majors » Category

Author: TestGru Team (Education Specialist)

20 questions · All questions on one page

Prepared with up-to-date content
University Major — Test 4 (Computer Science) University (Undergraduate Majors, USA) USA USA University Majors Curriculum
What is this test? for University Major review (University Major — Test 4 (Computer Science)), USA — University (Undergraduate Majors, USA) level, USA.
For University students (Undergraduate) in Test 4 (Computer Science) in the USA — is this your major?
Section: University Major — Test 4 (Computer Science) · Education: University (Undergraduate) · Part: University Major — Test 4 (Computer Science) · Country: USA

A regular habit of taking practice tests makes learned information stick and is one of the most important factors directly affecting exam success.

This test will help you gauge your knowledge in your field and manage your exam prep more efficiently.

By solving this test of 20 questions, you can both test your knowledge and identify the topics you need to improve.

Question 1
What is runtime?
A) Execution time
B) Write time
C) No time
D) Design time
Question 2
What is a bug?
A) Feature
B) Code error
C) No error
D) Hardware
Question 3
What is a class?
A) Instance
B) Function
C) Object blueprint
D) Variable
Question 4
What is AI?
A) Human only
B) No learning
C) Calculator
D) Machine intelligence
Question 5
What is an integer?
A) Whole number
B) Decimal
C) Text
D) No value
Question 6
What is Big O?
A) Size limit
B) Efficiency measure
C) No measure
D) Speed only
Question 7
Which of the following best defines a network?
A) One computer
B) No links
C) Linked computers
D) Cable only
Question 8
Which of the following best defines recursion?
A) Loop only
B) No calls
C) One call
D) Self-calling function
Question 9
Give the number of bits in byte:
A) Eight
B) Four
C) Ten
D) Sixteen
Question 10
Provide the definition of SQL:
A) Markup
B) Query language
C) Style code
D) No queries
Question 11
Provide the definition of a compiler:
A) Text editor
B) No translation
C) Code translator
D) Bug maker
Question 12
What best defines a comment?
A) Code command
B) Error
C) Output
D) Ignored note
Question 13
Which term means "Object modeling"?
A) OOP
B) binary
C) a bit
D) an algorithm
Question 14
Which term means "Processor brain"?
A) binary
B) CPU
C) a bit
D) an algorithm
Question 15
Provide the definition of encryption:
A) Plain text
B) Deleting data
C) Scrambling data
D) Copying data
Question 16
Provide the definition of a function:
A) One-use code
B) No inputs
C) Data only
D) Reusable block
Question 17
Which term means "Finding data"?
A) searching
B) binary
C) a bit
D) an algorithm
Question 18
Which term means "Linked networks"?
A) binary
B) the Internet
C) a bit
D) an algorithm
Question 19
Which of the following best defines a boolean?
A) Number only
B) Text only
C) True false value
D) No value
Question 20
Which term means "File container"?
A) binary
B) a bit
C) an algorithm
D) a folder

About This Test

For University Undergraduate (USA) — Engineering, Computer Science, Business, Nursing, Psychology and Environmental Science career-focused tests. Section: University Majors, USA.

University Majors USA — 900+ tests. Engineering, CS, Business, Nursing, Psychology, Biology, Environmental Science, etc. Major-specific, career-aligned. 8×20Q each.

Majors Forum: respectful peer help only — auto-moderation active across all 18 categories.

Study Tips:

  • Choose your exact major
  • Do major-specific weak topics
  • Link theory to career
  • Support peers respectfully