100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
CSC 141: Exam 1 Review (latest update) questions with 100% correct answers $12.99   Add to cart

Exam (elaborations)

CSC 141: Exam 1 Review (latest update) questions with 100% correct answers

 0 view  0 purchase
  • Course
  • CSC 141
  • Institution
  • CSC 141

CSC 141: Exam 1 Review (latest update) questions with 100% correct answers

Preview 2 out of 6  pages

  • November 16, 2024
  • 6
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • CSC 141
  • CSC 141
avatar-seller
BravelRadon
CSC 141: Exam 1 Review (latest update)
questions with 100% correct answers

parts of a computer - correct answer ✔✔1. processor

2. hard drive

3. RAM



processor - correct answer ✔✔-CPU: central processing unit

-thinks in 0s and 1s



hard drive - correct answer ✔✔-storage

-memory (software, files)

-slow



RAM - correct answer ✔✔-random access memory

-faster than hard drive

-CPU interacts with it



What must all Java codes begin with? - correct answer ✔✔public class "name of file"



sequential execution - correct answer ✔✔First line of code is executed first etc. White space doesn't
matter for the program, it's just important to have a neat, organized code.



What is the line of code all Java program's have? - correct answer ✔✔{

public static void main(String[] args)

{



}

, }



literals - correct answer ✔✔Value written into code.

Ex. variable = 40;

-has to be on the right



variables - correct answer ✔✔some named storage location in the computer's memory

Ex. payRoll = literal;

-has to be on the left



restrictions in RAM - correct answer ✔✔each variable can hold only one value at a time



arithmetic in Java - correct answer ✔✔+ - addition OR concatenate

- - subtraction

* - multiplication

/ - division

( ) - order of operations

% - modulus



variable naming rules - correct answer ✔✔1. first letter has to be a-z, A-Z, $, -

2. no spacing

3. case sensitive

4. subsequent can start with a-z, A-Z, -, $, 0-9



camelCasing - correct answer ✔✔the naming convention

Ex. grossPay or payRate



declaring variables - correct answer ✔✔-must be declared with it's data type before it can be used

-variables can only be declared once

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller BravelRadon. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $12.99. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

75323 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$12.99
  • (0)
  Add to cart