• Verkeerd document? Gratis ruilen
  • Geschreven door studenten die geslaagd zijn
  • Direct beschikbaar na je betaling
  • Online lezen of als PDF
Verkopen
Kies je studieland
Kies je taal
Document preview thumbnail
Voorbeeld 4 van de 51 pagina's
Tentamen (uitwerkingen)

Cs 111 Midterm Exam Mastery Guide – 200 Verified Practice Questions Spanning Core Computer Science Concepts, Java Syntax And Semantics, Ide Usage, Compilation (Source/Byte/Executable Code), Primitive Types & Identifiers, Operators (Increment/Decrement), C

Document preview thumbnail
Voorbeeld 4 van de 51 pagina's

CS 111 MIDTERM EXAM MASTERY GUIDE – 200 VERIFIED PRACTICE QUESTIONS SPANNING CORE COMPUTER SCIENCE CONCEPTS, JAVA SYNTAX AND SEMANTICS, IDE USAGE, COMPILATION (SOURCE/BYTE/EXECUTABLE CODE), PRIMITIVE TYPES & IDENTIFIERS, OPERATORS (INCREMENT/DECREMENT), CONSTANTS, ERROR CLASSIFICATION, ARRAYS, LOOPS, CONDITIONALS, CLASSES, INHERITANCE, POLYMORPHISM, INTERFACES, PACKAGES, AND THE JAVA VIRTUAL MACHINE 1. What is the definition of Computer Science? A) The study of computer hardware components B) The study of the principles and use of computers C) The study of programming languages only D) The study of computer networking Correct Answer: B Rationale: Computer Science is defined as the study of the principles and use of computers, encompassing both theoretical and practical aspects of computing. 2. What does IDE stand for in programming? A) Integrated Development Environment B) Internal Debugging Engine C) Internet Development Entity D) Interactive Design Environment Correct Answer: A Rationale: IDE stands for Integrated Development Environment, a software application that helps programmers write and debug Java programs more efficiently. 3. Which company originally developed the first version of Java? A) Oracle B) Microsoft C) Sun Microsystems D) IBM Correct Answer: C Rationale: Sun Microsystems developed the original Java language. Oracle acquired Sun and now owns Java. 4. Which company currently owns Java? A) Sun Microsystems B) Oracle C) Microsoft D) Google Correct Answer: B Rationale: Oracle purchased Sun Microsystems in 2010 and has owned Java since then. 5. For what original purpose was Java initially written? A) Web applets B) Home appliances C) Enterprise servers D) Mobile phones Correct Answer: B Rationale: Java began as a language for home appliances, though its focus later shifted to other areas. 6. From which language is Java derived? A) C++ B) C C) C# D) Pascal Correct Answer: A Rationale: Java syntax and object oriented features were heavily influenced by C++. 7. What is the output of the Java compiler called? A) Source code B) Executable code C) Byte code D) Machine code Correct Answer: C Rationale: The Java compiler produces byte code, which is a machine language for a fictitious computer. 8. Is Java considered “statically typed” or “strongly typed”? A) Dynamically typed B) Weakly typed C) Statically typed D) Untyped Correct Answer: C Rationale: Java is statically typed, meaning variable types are checked at compile time. 9. Which type of error does the Java compiler detect? A) Semantic errors B) Logic errors C) Syntax errors D) Runtime errors Correct Answer: C Rationale: The Java compiler finds syntax errors (grammatical mistakes in code). Semantic errors are only detected during execution. 10. What is a syntax error? A) An error in the program’s logic B) A grammatical error in word or punctuation C) An error that occurs when the program runs D) An error in variable naming Correct Answer: B Rationale: Syntax errors are grammatical mistakes in the code, such as missing semicolons or misspelled keywords. 11. What is a semantic error? A) An error that violates the language’s grammar rules B) An error in the meaning or logic of the program C) An error that prevents compilation

Voorbeeld van de inhoud

CS 111 MIDTERM EXAM MASTERY GUIDE – 200 VERIFIED PRACTICE
QUESTIONS SPANNING CORE COMPUTER SCIENCE CONCEPTS, JAVA
SYNTAX AND SEMANTICS, IDE USAGE, COMPILATION
(SOURCE/BYTE/EXECUTABLE CODE), PRIMITIVE TYPES & IDENTIFIERS,
OPERATORS (INCREMENT/DECREMENT), CONSTANTS, ERROR
CLASSIFICATION, ARRAYS, LOOPS, CONDITIONALS, CLASSES,
INHERITANCE, POLYMORPHISM, INTERFACES, PACKAGES, AND THE
JAVA VIRTUAL MACHINE




1. What is the definition of Computer Science?
A) The study of computer hardware components
B) The study of the principles and use of computers
C) The study of programming languages only
D) The study of computer networking
Correct Answer: B
Rationale: Computer Science is defined as the study of the principles and use of
computers, encompassing both theoretical and practical aspects of computing.

2. What does IDE stand for in programming?
A) Integrated Development Environment
B) Internal Debugging Engine
C) Internet Development Entity
D) Interactive Design Environment

,Correct Answer: A
Rationale: IDE stands for Integrated Development Environment, a software
application that helps programmers write and debug Java programs more
efficiently.

3. Which company originally developed the first version of Java?
A) Oracle
B) Microsoft
C) Sun Microsystems
D) IBM
Correct Answer: C
Rationale: Sun Microsystems developed the original Java language. Oracle
acquired Sun and now owns Java.

4. Which company currently owns Java?
A) Sun Microsystems
B) Oracle
C) Microsoft
D) Google
Correct Answer: B
Rationale: Oracle purchased Sun Microsystems in 2010 and has owned Java since
then.

5. For what original purpose was Java initially written?
A) Web applets
B) Home appliances
C) Enterprise servers

,D) Mobile phones
Correct Answer: B
Rationale: Java began as a language for home appliances, though its focus later
shifted to other areas.

6. From which language is Java derived?
A) C++
B) C
C) C#
D) Pascal
Correct Answer: A
Rationale: Java syntax and object-oriented features were heavily influenced by
C++.

7. What is the output of the Java compiler called?
A) Source code
B) Executable code
C) Byte-code
D) Machine code
Correct Answer: C
Rationale: The Java compiler produces byte-code, which is a machine language for
a fictitious computer.

8. Is Java considered “statically typed” or “strongly typed”?
A) Dynamically typed
B) Weakly typed
C) Statically typed

, D) Untyped
Correct Answer: C
Rationale: Java is statically typed, meaning variable types are checked at compile
time.

9. Which type of error does the Java compiler detect?
A) Semantic errors
B) Logic errors
C) Syntax errors
D) Runtime errors
Correct Answer: C
Rationale: The Java compiler finds syntax errors (grammatical mistakes in code).
Semantic errors are only detected during execution.

10. What is a syntax error?
A) An error in the program’s logic
B) A grammatical error in word or punctuation
C) An error that occurs when the program runs
D) An error in variable naming
Correct Answer: B
Rationale: Syntax errors are grammatical mistakes in the code, such as missing
semicolons or misspelled keywords.

11. What is a semantic error?
A) An error that violates the language’s grammar rules
B) An error in the meaning or logic of the program
C) An error that prevents compilation

Documentinformatie

Geüpload op
14 juli 2026
Aantal pagina's
51
Geschreven in
2025/2026
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden
€15,02

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
IszackBd
4,6
(5)
Verkocht
82
Volgers
4
Items
6761
Laatst verkocht
6 dagen geleden

Echte notities, van echte studenten
Elk document op Stuvia is geschreven door een medestudent die hetzelfde vak deed. Zo leer je van iemand die het al heeft gehaald.



Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen