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
rjkz [21]
3 years ago
6

Suppose you have the following declaration.

Computers and Technology
1 answer:
Harman [31]3 years ago
8 0

Answer:

Option 1 is the correct answer.

Explanation:

If a user declares an array of "100" size then it will count the index value from (0 to 99) because an array property says that when there is an array of "N" size then the array index value starts from 0 and ends on (N-1).

  • Statement (i) says that the index value is 1 to 100 when the array size is 100. but it is a wrong statement because it neglects the property of an array.
  • Statement (ii) says that the index value is 0 to 100 when the array size is 100. but it is a wrong statement because it neglects the property of array and the index value is (0 to 100) is right when the size of an array is 101.

Option 1 says that both are the incorrect statement. Hence it is the correct choice answer for the above question. while the other is not because --

  • Option 2 says that Statement (i) is right but it is wrong because it neglects the property of an array.
  • Option 3 says that none of the options are correct but option 1 is the correct answer.
  • Option 4 says that Statement (ii) is right but it is wrong because it neglects the property of an array.

You might be interested in
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
To use mail merge future, use tab on the ribbon
EastWind [94]

Answer:

Mailing tab

Explanation:

THIS IS THE COMPLETE QUESTION BELOW

To use mail merge features , use .................... tab on the Ribbon.

Tabs are been sectioned into groups,The groups under mailing tabs are utilized in performing steps needed for mail merge process. Mailing tab comes as fifth tab in the ribbon. This tabs enables the user to merge emails, preview results as well as writing and inserting different fields.

7 0
3 years ago
Which term describes a Cloud provider allowing more than one company to share or rent the same server?
azamat

The term that describes a cloud provider allowing more than one company to share or rent the same server is known as Multitenancy.

<h3>What is a cloud?</h3>

A third-party business offering a cloud-based platform, infrastructure, application, or storage services is known as a cloud service provider.

Companies often only pay for the cloud services they use, as business demands dictate, similar to how a homeowner would pay for a utility like electricity or gas.

Data for each renter is separated and inaccessible to other tenants. Users have their own space in a multi-tenant cloud system to store their projects and data. Multi-tenant cloud system helps in the clouding of private and public sectors.

Thus, Multitenancy is the term used to describe a cloud service that permits many businesses to share or rent the same server.

To learn more about cloud, refer to the link:

brainly.com/question/27960113

#SPJ2

3 0
1 year ago
Read 2 more answers
A PowerPoint file that contains a theme, sample text, and graphics on the slides or slide background to guide you as you develop
arsen [322]

Answer:

edit

Explanation:

7 0
3 years ago
Read 2 more answers
Write a program numbers.cpp that defines a function bool isDivisibleBy(int n, int d); If n is divisible by d, the function shoul
Misha Larkins [42]

Answer:

  1. bool isDivisibleBy(int n, int d){
  2.    
  3.    if(n % d == 0){
  4.        return true;
  5.    }
  6.    else{
  7.        return false;
  8.    }
  9. }

Explanation:

To check if n is divisible by d, we can use modulus operator such as %. If n % d equal to 0, this means n is divisible by d. Modulus operator is to calculate the remainder obtained from a division. If a number is divisible by another number, the remainder will be 0.

By making use of this concept we can create if and else statement to check if n % d is equal to 0, return true (divisible) else return false (not divisible).

3 0
3 years ago
Read 2 more answers
Other questions:
  • In these ones all your finding is the mean(average).
    14·1 answer
  • Jamal is a graphic designer.a. What hardware tool would you suggest for his computing system? Include an explanation and the cos
    8·1 answer
  • Which presentation software element can you use to control the speed between slides in a presentation?
    13·2 answers
  • A ______ allows a hacker to gain access to your computer and take almost complete control of it without your knowledge.
    12·2 answers
  • Assume a 16-word direct mapped cache with b=1 word is given. Also assume that a program running on a computer with this cache me
    6·1 answer
  • How do i do to use the cumputer very wel?
    14·2 answers
  • Give 3 ways you can get creative and personal while creating a PowerPoint.
    8·1 answer
  • A city planner is using simulation software to study crowd flow out of a large arena after an event has ended. The arena is loca
    15·1 answer
  • Match each definition with the term it describes. A(n) ______ provides identification and addressing information for computers a
    5·1 answer
  • spreadsheet solution Credit Score Current Rate First Name: Mary 500 6.50% Last Name: Bell 550 6.25% Address: 123 First Street 60
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!