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

CSCI 1301- Intro to Programming Solution Manual Fully Solved Latest 2025

Rating
-
Sold
-
Pages
5
Grade
A+
Uploaded on
23-01-2025
Written in
2024/2025

CSCI 1301- Intro to Programming Solution Manual Fully Solved Latest 2025 compiling and running java program - Answers java program is translated by the compiler into bytecode. bytecode is translated to machine level language by the java virtual machine. computer executes machine level language. compilers translate __ into ___ - Answers source code; object code what does the CPU do - Answers performs instructions of a program Main Memory - Answers holds the program currently running, can disappear when computer is shut down, fast speed but not alot of space. (RAM) Auxiliary Memory - Answers lots of space, sometimes external, very slow, not lost when computer is shut down, holds everything not currently being used. define file and directory - Answers group of bytes stored in the auxiliary memory is a file. groups of files are directories. high level language: define and give example - Answers modern programming language that is easy for most people to understand. java is a high level language. machine language - Answers language that computer can directly understand low level language - Answers close to computer language but need minor translations before computer can run it. Assembly language is one. Compiler compiles ___ into___ (same as other but different terms) - Answers high level language (source code) into low level language (object code) interpreter - Answers like a compiler but translates in chunks and immediately executes those chunks. example: JVM Integrated development environment (IDE) - Answers combines text editor with menu commands for compiling and running a java program. Object oriented programming language (OOP) - Answers software made of "objects" that act and interact syntax errors - Answers syntactical mistakes such as capitalization or missing a ";". a warning is given. runtime errors - Answers occur during execution, such as dividing by 0. logistical errors - Answers conceptual mistakes in algorithms or program. might work fine but output is wrong. no warning given. class data types - Answers ex: String, primitive data types (from smallest to largest)and what they hold - Answers byte(integer), short(integer), int(default integer), long(integer), float(decimal number), double(decimal number), char(single character), boolean(true or false). illegal identifiers include - Answers starting variable name with a number, special characters (*.-) variable initialization - Answers assignment statement ("=") gives value to a variable and initializes it

Show more Read less
Institution
CSCI 1301- Intro To Programming
Course
CSCI 1301- Intro to Programming









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

Written for

Institution
CSCI 1301- Intro to Programming
Course
CSCI 1301- Intro to Programming

Document information

Uploaded on
January 23, 2025
Number of pages
5
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

CSCI 1301- Intro to Programming Solution Manual Fully Solved Latest 2025

compiling and running java program - Answers java program is translated by the compiler into bytecode.
bytecode is translated to machine level language by the java virtual machine. computer executes
machine level language.

compilers translate __ into ___ - Answers source code; object code

what does the CPU do - Answers performs instructions of a program

Main Memory - Answers holds the program currently running, can disappear when computer is shut
down, fast speed but not alot of space. (RAM)

Auxiliary Memory - Answers lots of space, sometimes external, very slow, not lost when computer is
shut down, holds everything not currently being used.

define file and directory - Answers group of bytes stored in the auxiliary memory is a file. groups of files
are directories.

high level language: define and give example - Answers modern programming language that is easy for
most people to understand. java is a high level language.

machine language - Answers language that computer can directly understand

low level language - Answers close to computer language but need minor translations before computer
can run it. Assembly language is one.

Compiler compiles ___ into___ (same as other but different terms) - Answers high level language
(source code) into low level language (object code)

interpreter - Answers like a compiler but translates in chunks and immediately executes those chunks.
example: JVM

Integrated development environment (IDE) - Answers combines text editor with menu commands for
compiling and running a java program.

Object oriented programming language (OOP) - Answers software made of "objects" that act and
interact

syntax errors - Answers syntactical mistakes such as capitalization or missing a ";". a warning is given.

runtime errors - Answers occur during execution, such as dividing by 0.

logistical errors - Answers conceptual mistakes in algorithms or program. might work fine but output is
wrong. no warning given.

class data types - Answers ex: String,

, primitive data types (from smallest to largest)and what they hold - Answers byte(integer),
short(integer), int(default integer), long(integer), float(decimal number), double(decimal number),
char(single character), boolean(true or false).

illegal identifiers include - Answers starting variable name with a number, special characters (*.-)

variable initialization - Answers assignment statement ("=") gives value to a variable and initializes it

variable declaration - Answers gives the data type and name of variable to bring it into existence in the
program. must be declared before using.

taking input from keyboard (scanner class) requires... - Answers importing scanner class (import
java.util.Scanner;), opening it (Scanner keyboard = new Scanner(System.in);), and setting it to a memory
location of the data variable: "firstInt = keyboard.nextInt():"

constants - Answers never change in program, declare using "final" + data type then variable name, use
all caps for name, EX: final int DAYSOFWEEK;

widening conversion - Answers legal to go in order down the line (ex: int to long, float to double, char to
int**, short to float,etc)

narrowing conversion - Answers produces error, needs typecasting. ex: double to int, double to float)

how to typecast - Answers typecasting is CUTTING not ROUNDING so 25.999999999 cast to an int will be
25, not 26.

to typecast, (newdatatype)Variable Name

output of arithmetic is... - Answers the data type that occurs rightmost from the equation (the biggest
one) EX: int * double = double

int / int = - Answers truncated int

% modulus - Answers outputs the remainder of a division statement. EX; 4%2=0 15%2=1

Order of Operations (PUMDMAS) - Answers parenthesis P

unary (+ - ! ++ --) U

binary (* / %) MDM

binary lower (+ -) AS

charAt(index) - Answers returns the character at the index of number given. index starts at 0.
"stringname.charAt(integer)"

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.
TutorJosh Chamberlain College Of Nursing
View profile
Follow You need to be logged in order to follow users or courses
Sold
336
Member since
1 year
Number of followers
16
Documents
28319
Last sold
6 hours ago
Tutor Joshua

Here You will find all Documents and Package Deals Offered By Tutor Joshua.

3.6

53 reviews

5
18
4
14
3
12
2
0
1
9

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