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
andrew11 [14]
4 years ago
7

Consider a physical address with a page frame size of 2kb. how many bits must be used to represent the page-frame offset of the

physical address?
Computers and Technology
1 answer:
MArishka [77]4 years ago
7 0
11 bits would be enough for 0 - 2047 decimal, 2048 (2k) possible values. 2048 itself would need a 12 bit, which would allow from 0 - 4095 possible values. Useful tidbit to remember: 1024, 1k is ten bits.
You might be interested in
python program A year with 366 days is called a leap year. Leap years are necessary to keep the calendar in sync with the sun, b
Liula [17]

Answer:

In Python:

year = int(input("Year: "))

if (year % 4) == 0:

  if (year % 100) == 0:

      if (year % 400) == 0:

          print("Leap year")

      else:

          print("Not a leap year")

  else:

      print("Leap year")

else:

  print("Not a leap year")

Explanation:

This line prompts user for year

year = int(input("Year: "))

This condition checks if input year is divisible by 4

if (year % 4) == 0:

If yes, this condition checks if input year is divisible by 100

  if (year % 100) == 0:

If yes, this condition checks if input year is divisible by 400

      if (year % 400) == 0:

If divisible by 4, 100 and 400, then it is a leap year

          print("Leap year")

      else:

If divisible by 4 and 100 but not 400, then it is not a leap year

          print("Not a leap year")

  else:

If divisible by 4 but not 100, then it is a leap year

      print("Leap year")

else:

If it is not divisible by, then it is not a leap year

  print("Not a leap year")

3 0
3 years ago
Marijuana and hashish come from the hemp plant?
raketka [301]
Yes they come from the hemp plant
5 0
4 years ago
You have been hired to develop the website for a popular speaker. He has asked that you include the PowerPoint slides from his l
amid [387]

The method would you suggest for including the slides on the website are:

  • First one need to Download WOWSlider and then register for it.
  • Then one can make your slider. You need to have some images ready to add to the slideshow that you want to make.
  • Then Export your slider.
  • You also need to add the slider to your own webpage.

<h3>What are the different ways of creating slides?</h3>

PowerPoint are known to be one that gives about different ways to create a presentation.

One can use Blank presentation, one can also used  other Design Template and also From AutoContent Wizard.

Note that in the case above, The method would you suggest for including the slides on the website are:

  • First one need to Download WOWSlider and then register for it.
  • Then one can make your slider. You need to have some images ready to add to the slideshow that you want to make.
  • Then Export your slider.
  • You also need to add the slider to your own webpage.

Learn more about slides from

brainly.com/question/24653274

#SPJ1

6 0
2 years ago
What is a file manger ? The file manger is user A . Medium B.platform C. Interface .
zysi [14]

Answer: C. Interface.

Explanation:

File manager is an interface between the hardware part of a computer and the software. the main function of a file manager is to help the user manage all files which they have stored up on their computers. for example the file managers allows the users to view, copy, delete and edit the files which they have stored up on their computer storage devices.

5 0
4 years ago
A file concordance tracks the unique words in a file and their frequencies. Write a program that displays a concordance for a fi
victus00 [196]

Answer:

I am writing a Python program.

def concordance(filename):  # function that takes a file name as parameter and returns the concordance for that file

   file = open(filename,"r")  #opens file in read mode

   unique={}  #creates and empty list

   for word in file.read().split():  #loops through every word in the file

       if word in unique:  # if words is already present in the list

           unique[word] += 1  #add 1 to the count of the existing word

       else:    #if word is not present in the list

           unique[word] = 1 #add the word to the list and add 1 to the count of word

           file.close();  # close the file

   for x in sorted(unique):  #sort the list and displays words with frequencies

       print(x, unique[x]);  #prints the unique words and their frequencies in alphabetical order

#prompts user to enter the name of the file

file_name=input('Enter the input file name: ')

concordance(file_name)  #calls concordance method by passing file name to it

Explanation:

The program has a function concordance that takes a text file name as parameter and returns a list of unique words and their frequencies.

The program first uses open() method to open the file in read mode. Here "r" represents the mode. Then creates an empty list named unique. Then the for loop iterates through each word in the file. Here the method read() is used to read the contents of file and split() is used to return these contents as a list of strings. The if condition inside the loop body checks each word if it is already present in the list unique. If the word is present then it adds 1 to the count of that word and if the word is not already present then it adds that unique word to the list and assign 1 as a count to that word. close() method then closes the file. The second for loop for x in sorted(unique):  is used to display the list of unique words with their frequencies. sorted() method is used to sort the list and then the loop iterates through each word in the list, through x, which acts like an index variable, and the loop displays each word along with its frequency.

6 0
3 years ago
Other questions:
  • Write a program that defines a type for a structure that stores information on a student in ENG EK 125. Declare two variables to
    8·1 answer
  • Which are types of lines? Choose three answers.
    9·1 answer
  • WILL GIVE BRAINLIEST PLEASE HELP / urgent
    9·1 answer
  • During which phase of film making does the team outline their vision for the film?
    5·1 answer
  • As each layer of the OSI model adds its encapsulation header and/or footer, the ______ gets larger until it reaches the physical
    8·1 answer
  • _____ parser is an LL parser that is implemented by writing code directly from the grammar of the source language. EBNF is ideal
    7·1 answer
  • ___________ is related to mass, but also includes the gravitational pull of the Earth.
    14·1 answer
  • What animal does maleficent transform into in order to defeat prince phillip?
    13·2 answers
  • How could you use your technology skill and Microsoft Excel to organize, analyze, and compare data to decide if a specific insur
    12·1 answer
  • How can blockchain be used to support sustainable business practices?
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!