What This Document Is
This document is a midterm examination for Stony Brook University’s Computer Science I (CSE 114) course, specifically from the Summer 2020 session. It’s designed to assess a student’s understanding of fundamental programming concepts and problem-solving abilities within the context of an introductory computer science curriculum. The material focuses on core Java principles and their application.
Why This Document Matters
This resource is invaluable for students currently enrolled in CSE 114, or those preparing to take the course. It’s particularly helpful for understanding the *types* of questions and the level of difficulty expected on the midterm exam. Reviewing a past exam can help identify knowledge gaps and focus study efforts. It’s best used *after* completing coursework and as part of a comprehensive exam preparation strategy. Accessing the full document allows for a complete practice experience and a deeper understanding of the course material.
Topics Covered
* Fundamental Java syntax and semantics
* Control flow statements (loops and conditional statements)
* Boolean logic and operator precedence
* Data types and variable declarations
* Number system conversions (octal to decimal)
* String manipulation and comparison
* Array fundamentals
* The use of `switch` statements
* Understanding of operator behavior and side effects
What This Document Provides
* A series of coding problems requiring analysis and prediction of program output.
* Questions designed to test understanding of core programming concepts.
* Problems involving logical reasoning and careful attention to detail.
* Examples of code snippets that require interpretation and evaluation.
* A representative sample of the question format and difficulty level encountered on the CSE 114 midterm exam.
* Solutions are included to allow for self-assessment and learning. (Available with full access)