Starting Out with Java: From Control Structures through Data Structures (4th Edition) (What's New in Computer Science)
4th Edition
ISBN: 9780134787961
Author: Tony Gaddis, Godfrey Muganda
Publisher: PEARSON
expand_more
expand_more
format_list_bulleted
Concept explainers
Expert Solution & Answer
Chapter 1, Problem 1SA
Explanation of Solution
Difference between main memory and secondary storage:
Main Memory | Secondary storage |
In Main memory or Random Access Memory (RAM), the data is directly accessed by the processing unit. | In secondary storage, the data is transferred to the main memory and then routed to the processing unit. |
Main memory is volatile, which means the information stored in the memory would be erased when the computer is turned off. | Secondary storage is non-volatile, which means the information stored in the memory is not erased when the computer is turned off... |
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
Describe the role of garbage collection in managing memory associated with unused constants and variables.
When memory is ____, it means that the memory is reserved by some entity for use
How character 'a' is stored in memory?
Chapter 1 Solutions
Starting Out with Java: From Control Structures through Data Structures (4th Edition) (What's New in Computer Science)
Ch. 1.3 - Why is the computer used by so many different...Ch. 1.3 - List the five major hardware components of a...Ch. 1.3 - Internally, the CPU consists of what two units?Ch. 1.3 - Prob. 1.4CPCh. 1.3 - Prob. 1.5CPCh. 1.3 - Prob. 1.6CPCh. 1.3 - What does the term multitasking mean?Ch. 1.5 - Describe the difference between a key word and a...Ch. 1.5 - Prob. 1.9CPCh. 1.5 - Describe the difference between a program line and...
Ch. 1.5 - Prob. 1.11CPCh. 1.5 - What happens to a variables current contents when...Ch. 1.5 - What is a compiler?Ch. 1.5 - Prob. 1.14CPCh. 1.5 - What is byte code?Ch. 1.5 - Prob. 1.16CPCh. 1.6 - What four items should you identify when defining...Ch. 1.6 - Prob. 1.18CPCh. 1.6 - What is pseudocode?Ch. 1.6 - Describe what a compiler does with a programs...Ch. 1.6 - Prob. 1.21CPCh. 1.6 - Is a syntax error (such as misspelling a key word)...Ch. 1.6 - What is the purpose of testing a program with...Ch. 1.7 - Prob. 1.24CPCh. 1.7 - Prob. 1.25CPCh. 1.7 - Prob. 1.26CPCh. 1.7 - Prob. 1.27CPCh. 1.7 - Prob. 1.28CPCh. 1 - Prob. 1MCCh. 1 - A byte is made up of eight a. CPUs b. addresses c....Ch. 1 - Each byte is assigned a unique a. address b. CPU...Ch. 1 - Prob. 4MCCh. 1 - If you were to look at a machine language program,...Ch. 1 - These are words that have a special meaning in the...Ch. 1 - These are symbols or words that perform operations...Ch. 1 - These characters serve specific purposes, such as...Ch. 1 - These are words or names that are used to identify...Ch. 1 - Prob. 10MCCh. 1 - Prob. 11MCCh. 1 - Prob. 12MCCh. 1 - Prob. 13MCCh. 1 - The following pseudocode algorithm has an error....Ch. 1 - Available Credit A program that calculates a...Ch. 1 - Sales Tax A program that calculates the total of a...Ch. 1 - Account Balance A program that calculates the...Ch. 1 - The variable x starts with the value 0. The...Ch. 1 - The variable a starts with the value 10. The...Ch. 1 - Prob. 1SACh. 1 - Prob. 2SACh. 1 - What is the difference between operating system...Ch. 1 - Why must programs written in a high-level language...Ch. 1 - Why is it easier to write a program in a...Ch. 1 - What is a source file?Ch. 1 - Prob. 7SACh. 1 - What is an algorithm?Ch. 1 - What is a compiler?Ch. 1 - What must a computer have in order for it to...Ch. 1 - What is the difference between machine language...Ch. 1 - Why does byte code make Java a portable language?Ch. 1 - Prob. 13SACh. 1 - Prob. 14SACh. 1 - What part of an object forms an interface through...Ch. 1 - What type of program do you use to write Java...Ch. 1 - Will the Java compiler translate a source file...Ch. 1 - What does the Java compiler translate Java source...Ch. 1 - Prob. 19SACh. 1 - Prob. 20SACh. 1 - Your First Java Program This assignment will help...
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Similar questions
- 1) Airgead Banking wants a screen to display with the following information: Initial Investment Amount: The starting amount of your investment (a positive real number) Monthly Deposit: The amount you plan to contribute to the growth of your investment each month (a positive real number Annual Interest (Compounded): Interest that is added to the principal sum of your investment and its previously accumulated interest (interest on interest and principal) Number of Years: The number of years your investment has to grow A way to see the data (for example: “Press any key to continue…”) 2. When the user continues, the console should display two static reports. One should show the year-end balances and year-end earned interest if no additional monthly deposits are made. The second should show the year-end balances and year-end earned interest based on the monthly deposit value that was input by the user ($50.00 in this example). The following is an example of what your interface might…arrow_forwardThe portion of memory that is relatively limitless, and can hold information in storage for an indefinitely long period of time, is called:arrow_forwardThe two main kind of main memory arearrow_forward
- Strings) Exercise-Displaying Values Exercise: Displaying Values You may recall from an earlier playground an exercise that involved calculating the space remaining on an iPhone. You had the following information: The capacity of an iPhone is measured in gigabytes (GB). The iPhone in question has 8GB of storage. A gigabyte is about 1,000 megabytes (MB) The phone already has 3GB of stuff on it One minute of video takes 150MB of space Exercise Create a string that tells the user how many minutes of video they can store on the phone. You'll first need to perform the calculation steps, then use string interpolation to display the answer - which should look like this: You can record XXX more minutes of video. Hint: Do all of your calculations in megabytes. 17 18 19 20 21 22arrow_forwardWhy does Storage qualify as having "memory"?arrow_forwardComputer Science: The length of a word determines the number of bits necessary in a memory address.arrow_forward
- If a user requires information to be immediately available to the CPU, it should be stored in secondary storage.arrow_forwardComputer Science A computer has RAM of size 32 GB, its instruction set has 64 instructions and there are 64 registers in the CPU. What is the format and size of each of the following instructions?arrow_forwardComputer science: When working with what sorts of data should one avoid using the arithmetic mean?arrow_forward
- Computer Science C Language, please make method as simple and basic as possible thank you :) When creating a social media account, you can get an automatically generated password sent to you 152 days after you create your profile. Write a program that reads the year, month and day of your account creation, and then prints the year, month and day that you become eligible for a new password. Leap years should also be taken into account.arrow_forwardComputer Trouble Shootingarrow_forwardUSC (PAG) Personal Academic Guide ™ is your personal electronic sequence sheet. This is a simple application to keep track of each course you are doing/have done, serve as a personal exam timetable for the course which have final exams, keep track of your projects for courses with projects and keep a record of grades earned. It should also allow you to write notes for each course you have done. The concept is like a check sheet system blended with a simple exam timetable. Use the UML Class diagram below to: Create the appropriate sequence diagrams to model at least three (3) areas of your application.arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Principles of Information Systems (MindTap Course...Computer ScienceISBN:9781285867168Author:Ralph Stair, George ReynoldsPublisher:Cengage LearningEnhanced Discovering Computers 2017 (Shelly Cashm...Computer ScienceISBN:9781305657458Author:Misty E. Vermaat, Susan L. Sebok, Steven M. Freund, Mark Frydenberg, Jennifer T. CampbellPublisher:Cengage LearningSystems ArchitectureComputer ScienceISBN:9781305080195Author:Stephen D. BurdPublisher:Cengage Learning
- C++ for Engineers and ScientistsComputer ScienceISBN:9781133187844Author:Bronson, Gary J.Publisher:Course Technology Ptr
Principles of Information Systems (MindTap Course...
Computer Science
ISBN:9781285867168
Author:Ralph Stair, George Reynolds
Publisher:Cengage Learning
Enhanced Discovering Computers 2017 (Shelly Cashm...
Computer Science
ISBN:9781305657458
Author:Misty E. Vermaat, Susan L. Sebok, Steven M. Freund, Mark Frydenberg, Jennifer T. Campbell
Publisher:Cengage Learning
Systems Architecture
Computer Science
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Cengage Learning
C++ for Engineers and Scientists
Computer Science
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Course Technology Ptr