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

CSCI 121 Exam 1 Study Questions with well explained answers

Rating
-
Sold
-
Pages
31
Grade
A+
Uploaded on
26-05-2024
Written in
2023/2024

Computer Program - A set of instructions for a computer to follow Software - The collection of programs used by a computer Bit - A digit that can assume only the values 0 or 1 Byte - Eight-bit portion of memory High-level languages - Are designed to be easy for human beings to write programs in and be easy for human beings to understand Popular High Level Languages - C, C++, C#, Java, Python Compiler - A program that translates code in a high-level language (such as C++) into a machinelanguage program that the computer can directly understand and execute Linker - combines object code from a C++ program with the object code for program pieces Source Code - The input data from some other program Object Code - The output data that has been translated Five components of a computer: - Input Devices, Output Devices, Processer (CPU), Main Memory, Secondary Memory Three Properties of OOP - 1. encapsulation2. inheritance 3. polymorphism Steps of software life cycle - Planning Analysis design implementation Testing Maintenance Include directives and their purpose - #include <iostream> Tells the compiler where to find information about certain items that are used in your program Main function - int main() { } Main part of the program, braces indicate beginning and end of the main part of the program. Types of program errors: - error message warning messagerun-time errors Logic errors Type of comments: - // or /* ... */ Rules for variable names - -Must begin with a letter or underscore. -Followed by any sequence of letters, numbers of underscores (_) -No spaces -Case sensitive (uppercase and lowercase are different). Keywords and their meanings - words with predefined meanings that cannot be used as names for variables or anything else. italicized. do, for, if, else, bool, string, true, char, double, int, etc. Declare variables - tells the compiler and computer what kind of data you are storing in the variable Int - Declares the identifier to be a type int which means that when initializing, the variable after int MUST be a whole number

Show more Read less
Institution
CSCI 121
Course
CSCI 121











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

Written for

Institution
CSCI 121
Course
CSCI 121

Document information

Uploaded on
May 26, 2024
Number of pages
31
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

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.
Brainarium Delaware State University
View profile
Follow You need to be logged in order to follow users or courses
Sold
1829
Member since
2 year
Number of followers
1043
Documents
22327
Last sold
15 hours ago

3.8

317 reviews

5
147
4
60
3
54
2
16
1
40

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