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

CSCI 1301 Exam 1-UGA Updated 2024/2025 Actual Questions and answers with complete solutions

Rating
-
Sold
-
Pages
8
Grade
A+
Uploaded on
27-07-2024
Written in
2023/2024

.compareTo(); - compares to help with ordering alphabetic characters -If compare x1 to x2 and returns >0(+) then x1 comes after x2 -If compare x1 to x2 and returns <0(-) then x1 comes before x2 -if compare x1 to x2 and returns 0 then x1 ad x2 are equal .equals(); .equalsIgnoreCase(); - equality of 2 strings (just like == is for int) .indexOf(); - returns the index of a letter (position, because String starts with index 0) .length (); - returns int of how long the string is .toUpperCase(); .toLowerCase(); - all characters to upper case or lower case "" = ? - "" - 2 characters "+" "-" "*" "/" "()" "%" - math operators "=" - the assignment operator, gives a variable a value"high-level language" - A programming language like Java that is designed to be easy for humans to read and write. "keywords" that should NEVER be included in your code - if, public, class, while, for, print, etc. /* */ - comments out multiple lines // - comments out rest of the line n - forces to next line t - tab ++ - increment by 1 == is appropriate when... - determining if 2 ints, booleans, or chars have the same value 1 billion bytes (1,000 megabytes) - 1 GB 1 bit - smallest unit 1 million bytes (1,000 kilobytes) - 1 MB 1,000 bytes - 1 KB 4 bits - nibble8 bits - 1 byte an array - a collection of variables of the same type double [ ] temp = new double [7]; arrays are indexed with ____ - int auxiliary memory - exists once the computer turns off (hard drive) boolean - true or false bytes in larger units are ____ - files char - characters (letters) code HelloWorld - public class HelloWorld{ public static void main(String[] args){ S("Hello World"); } } constants - variables that next change in your code - written as: final int thisNumber = 4; or int THIS_NUMBER = 4; contingency - when the expression has at least one true or falsecontradiction - when the expression is always false CPU - (Central Processing Unit) The key component of a computer system, which contains the circuitry necessary to interpret and execute program instructions data types - say what the variable is storing do-while loop - same as the while loop expect the body of the loop is executed at least one time doing int 9 divided by int 10 will give you ___ (an integer answer) - 0 double or float - decimals e notation: 4x10^8 - 4e^8 Encapsulation - packages and hides details enumerations - limit the amount of values a variable can have Files are organized into ____ - folders or directories

Show more Read less
Institution
CSCI 1301 -UGA
Course
CSCI 1301 -UGA









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

Written for

Institution
CSCI 1301 -UGA
Course
CSCI 1301 -UGA

Document information

Uploaded on
July 27, 2024
Number of pages
8
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers

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.
ACADEMICMATERIALS City University New York
View profile
Follow You need to be logged in order to follow users or courses
Sold
569
Member since
2 year
Number of followers
186
Documents
10590
Last sold
1 day ago

4.1

96 reviews

5
53
4
12
3
21
2
3
1
7

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