1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Dovator [93]
4 years ago
10

When you first log into linux, what is the current working directory?

Computers and Technology
1 answer:
mina [271]4 years ago
6 0
This will depend on what the user has set the default working directory to. In order to check for yourself what your default working directory is inside linux, simply log in, click the start button>Click System Tools>LXTerminal. Once in the terminal, you can check your current working directory by typing in "pwd" without the quotation marks. Then, hit enter on your keyboard and the terminal will print your current working directory. I hope this has helped you.
You might be interested in
PLEASE HELP!
Basile [38]

Answer:

declare count as integer

7 0
3 years ago
List the three control problems associated with competingprocesses and briefly define each.
hjlf

Answer and explanation :

the three control problems associated with competing process are

  • MUTUAL EXCLUSION : We know that some resources are shareable and some are not shareable. which means only one process can access the resource at a time this type of resources are called critical resources this code can be access at only one process at a time. the other process if required to access should not be allowed
  • DEADLOCK: this hold the process without complete for example suppose there are two resources R1 and R2 and two process P1 and P2 and P1 use R1 and P2 use R2 but after some time when P1 needs R2 but R2 is not available as it is used by P2 so the all process will be on hold
  • STARVATION : when priorities are given to the process as high priorities and low priorities. And high priorities process always competing  then low priorities process have to wait for very long time this is called starvation
3 0
3 years ago
Which one of the following is the correct code snippet for calculating the largest value in an integer array list aList?
vodka [1.7K]

Answer:

Option a.  int max = aList.get(0); for (int count = 1; count < aList.size(); count++) { if (aList.get(count) > max) { max = aList.get(count); } }

is the correct code snippet.

Explanation:

Following is given the explanation for the code snippet to find largest value in an integer array list aList.

  1. From the array list aList, very first element having index 0 will be stored in the variable max (having data type int).
  2. By using for starting from count =1 to count = size of array (aList), we will compare each element of the array with first element of the array.
  3. If any of the checked element get greater from the first element, it gets replaced in the variable max and the count is increased by 1 so that the next element may be checked.
  4. When the loop will end, the variable max will have the greatest value from the array aList.

i hope it will help you!

7 0
3 years ago
Read 2 more answers
20 points fun challenge!!! Can u solve this challenge? Find the only spelled out word in this jumble of letters, there is only o
densk [106]

Answer:

hello

Explanation:

8 0
4 years ago
Read 2 more answers
For the following questions, consider a paged memory system that has a physical main memory size of 32KB (215) and a page frame
dlinn [17]

Complete Question

For the following questions, consider a paged memory system that has a physical main memory size of 32KB (215) and a page frame size of 8KB (213). Consider a process P whose logical address space is 64KB (216). Important Note: If an answer requires an exponent, use the ^ character. For example: 216 would be entered as 2^16.

Question 1: How many physical page frames are there in the above paged memory system? ________(Your answer should be in exponential form)

How many bits are needed to represent a physical page frame number in the system? ____________

Question 2: How many logical pages are there for P? _____________(Your answer should be in exponential form. )

How many bits are needed to represent a logical page number for P? _____________

Answer:

1a) The number of physical page frames in the  paged memory system = 2⁵

1b) The number of bits that can be used to represent the physical page frame = 5 bits

2a) Number of logical pages = 2³

2b) Number of logical frame bits = 3 bits

Explanation:

Size of physical main memory = 32 kB = 2¹⁵

Space for Logical address = 64 KB = 2¹⁶

Page frame size = 8 KB = 2¹³

1a) The number of physical page frames in the  paged memory system

Number of page frames = physical main memory size / page frame size

 Number of page frames  = 2¹⁵ / 2¹³

Number of page frames = 2⁵

1b)The number of bits that can be used to represent the physical page frame

physical memory size = log2(2²⁰) = 20 bits.

Offset bits = log2(2¹⁵)  = 15 bits

Frame bits = physical memory size – offset bits

Frame bits = 20 – 15

Frame bits = 5 bits

2a)  Number of logical pages = logical address space / page frame size

Number of logical pages = 2¹⁶/2¹³

Number of logical pages = 2³

2b) Logical address space = log2(2¹⁶) = 16 bits

Offset bits = log2(2¹³)

Offset bits = 13 bits

Frame bits = logical address space bits – offset bits

Frame bits   = 16 – 13

Frame bits  = 3 bits

7 0
3 years ago
Other questions:
  • If a = 3 and b = a+3 find value of b.
    14·2 answers
  • What does the "e" in eSATA stand for?
    13·2 answers
  • Need Help !!! Please
    8·1 answer
  • How many steps are there on Mail Merge Task Pane? List them.​
    9·1 answer
  • Ruby is creating a presentation. She wants each slide displayed at intervals of five seconds. Which feature in the presentation
    6·2 answers
  • Which is an advantage of setting bookmarks?
    15·1 answer
  • Which of the following best explains how devices and information can be susceptible to unauthorized access if weak passwords are
    9·1 answer
  • Name:
    13·1 answer
  • MSWord is a popular___________ program.​
    7·2 answers
  • How to ignore punctuation before and after a word javascript
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!