100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

COSC 1336 Final Exam Review questions with complete solutions

Rating
-
Sold
-
Pages
7
Grade
A+
Uploaded on
13-12-2024
Written in
2024/2025

COSC 1336 Final Exam Review questions with complete solutions

Institution
Cosc
Course
Cosc









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Cosc
Course
Cosc

Document information

Uploaded on
December 13, 2024
Number of pages
7
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

COSC 1336 Final Exam Review
questions with complete solutions

Five Main Components of a Computer - correct answer ✔✔1. Input Devices

2. Output Devices

3. Processor (CPU)

4. Main Memory

5. Secondary Memory



Input Devices - correct answer ✔✔Allows communication to the computer



Output Devices - correct answer ✔✔Allows communication to the user



Processor (CPU) - correct answer ✔✔Central Processing Unit; follows program instructions



Main Memory - correct answer ✔✔Memory locations containing the running program



Secondary Memory - correct answer ✔✔Permanent record of data often on a disk



Compiler - correct answer ✔✔translate high-level language to machine language



Source Code - correct answer ✔✔the original program we write in a high level language (C++)



Object Code - correct answer ✔✔the translated version in machine language



Program Design Process - correct answer ✔✔1. Problem Solving Phase

2. Implementation Phase

, Problem Solving Phase - correct answer ✔✔Result is an algorithm that solves the problem



Implementation Phase - correct answer ✔✔Result is the algorithm translated into a programming
language



Variable Declarations - correct answer ✔✔identifies names of variables to name numbers



Program Statements - correct answer ✔✔performs a computation and sends value of variable to
monitor



Include Directives - correct answer ✔✔tells compiler where to find information about items used in the
program



Include Directives - correct answer ✔✔#include <iostream>, #include <cmath>,

#include <fstream>,

#include <iomanip>,

#include <cstdlib>



Program Errors - correct answer ✔✔1. Syntax Errors

2. Run-time Errors

3. Logic Errors



Syntax Errors - correct answer ✔✔violation of grammar rules of the language. discovered by the
compiler, and errors messages may not always show correct locations of errors



Run-time Errors - correct answer ✔✔error conditions detected by the computer at run-time



Logic Errors - correct answer ✔✔errors in the program's algorithm, most difficult to diagnose, and
computer does not recognize an error

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
BravelRadon Havard School
View profile
Follow You need to be logged in order to follow users or courses
Sold
873
Member since
4 year
Number of followers
540
Documents
41524
Last sold
4 days ago
EXAM HUB

Welcome to Exam Hub Are you looking for high-quality, exam-ready notes, past papers, Test Banks, and well-researched study materials to boost your grades? You’re in the right place! I create and upload detailed, easy-to-understand, and well-structured documents across multiple subjects. All my materials are designed to help you study , save time, and excel in your coursework and exams! On this page NURSING EXAMS,STUDY GUIDES,TESTBANKS AND QUALITY EXAMS IS THE KEY TO STUDENTS CAREER EXCELLENCE, you find all documents, package deals, and flashcards offered by BravelRadon (EXAM HUB STORES!)....kindly recommend a friend for A+ GARANTEEd either you are a first-year student or final-year graduation! best of luck!

Read more Read less
3.5

154 reviews

5
56
4
30
3
32
2
8
1
28

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions