Answer:
its blocked
Explanation:
Given three subroutines of 550, 290, and 600 words each, if segmentation is used then the total memory needed is the sum of the three sizes (if all three routines are loaded). However, if paging is used, then some storage space is lost because subroutines rarely fill the last page completely, and that results in internal fragmentation. Determine the total amount of wasted memory due to internal fragmentation when the three subroutines are loaded into memory using each of the following page sizes:
a. 100 words
b. 600 words
c. 700 words
d. 900 words
Typically, external fragmentation wastes one-third of memory. Internal fragmentation occurs when space inside a designated region is wasted. Thus, option D is correct.
What wasted memory due to internal fragmentation?The mounted-sized block is allotted to a method whenever a request for memory is made. Internal fragmentation is the term used to describe the situation where the memory allotted to the method is a little bigger than the amount requested.
Normally, memory is allocated in uniformly sized blocks, but sometimes a process doesn't use the entire block, leading to internal fragmentation.
Memory fragmentation occurs when a memory allocation request can be satisfied by the whole amount of accessible space in a memory heap, but no single fragment (or group of contiguous fragments) can.
Therefore, when the three subroutines are loaded into memory using each of the following page sizes 900 words.
Learn more about memory here:
https://brainly.com/question/16953854
#SPJ5
(Please Help! Timed Quiz!) Messages that have been accessed or viewed in the Reading pane are automatically marked in Outlook and the message subject is no longer in bold. How does a user go about marking the subject in bold again?
*Mark as Read
*Flag the Item for follow-up
*Assign a Category
*Mark as Unread
Answer:
D Mark as Unread
Explanation:
I just took the test
What will be the output?
class num:
def __init__(self, a);
self.number = a
def_mul__(self,b):
* return self.number + b.number
#main program
numA = num(8)
numB = num(4)
result = numA* numb
print(result)
O4
O 12
O 32
4096
the variable a & b and A & B are different. So the only program that work is at #main program.
Hence that A = 8 and B = 4 and the result is A * B so 8*4=32.
Sorry if im wrong
32 will be the output of this question
What is the output?An industry's output is the total amount of goods and services generated within that industry over a specific time period and sold to customers or other firms. An industry's annual production of boxes of cookies or tons of sugar, for instance, can be considered output.
The quantity a person produces in a particular period of time. d.: energy or power given or produced by a device or system (as for storage or for conversion in kind or in characteristics)Here is how we might define these two phrases in business terms: The results are what the business requires or wants to accomplish. The acts or things that help achieve an outcome are called the outputs.
Variables a and b and A and B are distinct. Thus, the #main program is the only program that functions. Because A = 8 and B = 4, the outcome is A * B, which equals 8*4=32.
Therefore, the output of this question
Learn more about output here:
https://brainly.com/question/13736104
#SPJ5
You want to substitute one word with another throughout your
document. What tool(s) should you use?
O Cut and Paste
O Dictionary
O Find and Replace
O Copy and cut
5. Write the output of the following program codes
publicstaticvoidmain(String []args)
{
int a=20
String b=”Hello”;
System.out.println(“the no is”+a);
System.out.print(“Hello”);
System.out.println(“#######”);
System.out.print(“Bye:””);
}
Answer:
see picture
Explanation:
There are several syntax errors in the program that need to be fixed:
No spaces in the declarationNo semicolon after variable a declarationIncorrect double quotes everywhere Extra double quote after "Bye:"So the actual answer would be: the compiler will report syntax errors.
Answer:
the no is20
Hello#######
Bye:
Reason: Programming, hoped this is right!
There are several possible reasons why a high percentage of IT projects are abandoned-the business strategy changed, technology changed, the project was not going to be completed on time or budget, the project sponsors responsible did not work well together, or the IT strategy was changed to cloud or SaaS.
a. True
b. False
Answer:
a. True
Explanation:
The above listed information are part of the reasons why so many IT projects are abandoned by the business entities after a given period of time frame.
Assuming even parity, find the parity bit for each of the following data units. a. 1001011 b. 0001100 c. 1000000 d. 1110111
Answer:
b. 0001100
Explanation:
1100
what is 30 x 30 x 30 x 30
Answer:
its is 810000
Explanation:
hope this helps
Vampire Diaries Trivia
Alaric.....?
What were the first vampires called?
How did Elena's parents die?
Answer correctly and you will get Brainliest and 10 points.
Answer:
Alaric Saltzman.
The Originals.
Car crash, ran off Wickery bridge.
Explanation:
Answer:
okkk I got this TVD since forever
Explanation:
Alaric Saltzman
They are called the original vampires (Mikael, Finn, Elijah, Klaus, Kol, and Rebekah)
Elena parents died on the way back home from picking up Elena from a party. They end up driving off the Wickery Bridge. Stefan saved Elena though he was going to save Elena dad first however her dad told Stefan to get Elena.
EASY What does the Backspace key do?
O Inserts characters behind (or to the left of) the insertion
point.
O Removes characters behind (or to the left of) the insertion
point.
O Removes characters in front of (or to the right of) the
insertion point
O Inserts characters in front of (or to the right of) the insertion
point.
Answer:
Removes characters behind (or to the left of) the insertion point.
Explanation:
A room has one door, two windows, and a built-in bookshelf and it needs to be painted. Suppose that one gallon of paint can paint 120 square feet. Write a program that prompts the user to input the length and width (in feet) of: The door Each window The bookshelf And the length, width, and height of the room. The program outputs: The amount of paint needed to paint the walls of the room.
Answer:
In Python:
doorLength = float(input("Door Length: "))
doorWidth = float(input("Door Width: "))
windowLength1 = float(input("Window 1 Length: "))
windowWidth1 = float(input("Window 1 Width: "))
windowLength2 = float(input("Window 2 Length: "))
windowWidth2 = float(input("Window 2 Width: "))
shelfLength = float(input("Bookshelf Length: "))
shelfWidth = float(input("Bookshelf Width: "))
totalarea = doorLength * doorWidth + windowLength1 * windowWidth1 + windowLength2 * windowWidth2 + shelfLength*shelfWidth
gallons = totalarea/120
print("Gallons: "+str(gallons))
Explanation:
The next two lines get the dimension of the door
doorLength = float(input("Door Length: "))
doorWidth = float(input("Door Width: "))
The next two lines get the dimension of the first window
windowLength1 = float(input("Window 1 Length: "))
windowWidth1 = float(input("Window 1 Width: "))
The next two lines get the dimension of the second window
windowLength2 = float(input("Window 2 Length: "))
windowWidth2 = float(input("Window 2 Width: "))
The next two lines get the dimension of the shelf
shelfLength = float(input("Bookshelf Length: "))
shelfWidth = float(input("Bookshelf Width: "))
This calculates the total area of the door, windows and bookshelf
totalarea = doorLength * doorWidth + windowLength1 * windowWidth1 + windowLength2 * windowWidth2 + shelfLength*shelfWidth
This calculates the number of gallons needed
gallons = totalarea/120
This prints the number of gallons
print("Gallons: "+str(gallons))
In the computing environment the numerical value represented by the pre-fixes kilo-, mega-, giga-, and so on can vary depending on whether they are describing bytes of main memory or bits of data transmission speed. Research the actual value (the number of bytes) in a Megabyte (MB) and then compare that value to the number of bits in a Megabit (Mb). Are they the same or different
Answer:
1024 bytes in a megabyte and there are 8000000 bits in a megabyte. They are different.
Explanation:
There are 8000000 bits and 1024 bytes in one megabyte. They are unique.
What is Megabyte?The megabyte is a multiple of the digital informational unit byte. The suggested unit sign for it is MB. The International System of Units unit prefix mega is a multiplier of 1000,000. As a result, one megabyte is equal to one million bytes of data.
About a million bytes make up a megabyte (or about 1000 kilobytes). Typically, a few megabytes might be required for a 10-megapixel digital camera photograph or a brief MP3 music clip.
1000000 bytes make up one megabyte (decimal). In base 10, 1 MB equals 106 B. (SI). 1048576 bytes make up a megabyte (binary). A megabyte can imply either 1,000,000 bytes or 1,048,576 bytes, according to the Microsoft Press Computer Dictionary. Apparently, Eric S.
To read more about Megabyte, refer to - https://brainly.com/question/2575232
#SPJ2
(15) You are a Pascal teacher (a very good programmer using assembly language(i.e., machine language) of your local machine). You are given only the following programmes:(at) A compiler written in P-code: translate a program in Pascal to one in P-code(P-code is very close to your local machine language).(b) A P-code interpreter written in Pascal: able to interpret any program writtenin P-code.a) (10) What will you do (with minimal effort) to run the Pascal programs yourstudents submit on your local machine
LAB: Even/odd values in an array
Write a program that reads a list of integers, and outputs whether the list contains all even numbers, odd numbers, or neither. The input begins with an integer indicating the number of integers in the list. The first integer is not in the list. Assume that the list will always contain less than 20 integers.
Ex: If the input is:
5 2 4 6 8 10
the output is:
all even Ex:
If the input is:
5 1 -3 5 -7 9
the output is:
all odd
Ex: If the input is:
5 1 2 3 4 5
the output is:
not even or odd
Your program must define and call the following two methods. isArrayEven() returns true if all integers in the array are even and false otherwise. isArrayOdd() returns true if all integers in the array are odd and false otherwise.
public static boolean isArrayEven(int[] arrayValues, int arraySize)
public static boolean isArrayOdd(int[] arrayValues, int arraySize)
LabProgram.java
Load default template
1 import java until Scanner
2
3 public class ropa
4
5 /* Define your method here */
6
7 public static void main(Strist args) {
8 /* Type your code here */
9 }
10
11
11
Answer:
In Java:
import java.util.*;
public class Main{
public static boolean isArrayEven(int[] arrayValues, int arraySize){
boolean val = true;
int odd = 0;
for(int i =0;i<arraySize;i++){
if(arrayValues[i]%2!=0){
odd++; }}
if(odd>0){
val = false;}
return val;
}
public static boolean isArrayOdd(int[] arrayValues, int arraySize){
boolean val = true;
int even = 0;
for(int i =0;i<arraySize;i++){
if(arrayValues[i]%2==0){
even++;}}
if(even>0){
val = false;}
return val;
}
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
System.out.print("Array Length: ");
int n = input.nextInt();
int[] array = new int[n];
System.out.print("Array Elements: ");
for(int i = 0;i<n;i++){
array[i] = input.nextInt(); }
boolean even = isArrayEven(array,n);
boolean odd = isArrayOdd(array,n);
if(even == true && odd == false){
System.out.print("all even"); }
else if(even == false && odd == true){
System.out.print("all odd"); }
else{
System.out.print("not even or odd"); }
}
}
Explanation:
This declares the isArrayEven method
public static boolean isArrayEven(int[] arrayValues, int arraySize){
This initializes the return value to true
boolean val = true;
This initializes the frequency of odd numbers to 0
int odd = 0;
This iterates through the array
for(int i =0;i<arraySize;i++){
This checks if the current array element is odd
if(arrayValues[i]%2!=0){
If yes, the frequency of odd numbers is incremented by 1
odd++; }}
If the frequency of odd is greater than 1, then the array is not an even array
if(odd>0){
val = false;}
This returns true or false
return val;
}
This declares the isArrayOdd method
public static boolean isArrayOdd(int[] arrayValues, int arraySize){
This initializes the return value to true
boolean val = true;
This initializes the frequency of even numbers to 0
int even = 0;
This iterates through the array
for(int i =0;i<arraySize;i++){
This checks if the current array element is even
if(arrayValues[i]%2==0){
If yes, the frequency of even numbers is incremented by 1
even++;}}
If the frequency of even is greater than 1, then the array is not an odd array
if(even>0){
val = false;}
This returns true or false
return val;
}
The main method begins here
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
This prompts for length of array: System.out.print("Array Length: ");
This gets input for length of array int n = input.nextInt();
int[] array = new int[n];
This prompts for array elements: System.out.print("Array Elements: ");
This gets input for the array
for(int i = 0;i<n;i++){
array[i] = input.nextInt();
}
This calls the isArrayEven method and the result is stored in even
boolean even = isArrayEven(array,n);
This calls the isArrayOdd method and the result is stored in odd
boolean odd = isArrayOdd(array,n);
The following prints the result of the methods
if(even == true && odd == false){
System.out.print("all even"); }
else if(even == false && odd == true){
System.out.print("all odd"); }
else{
System.out.print("not even or odd"); }
Which of the following is a contact force?
A. friction
B. magnetism
C. gravity
D. electricity
Answer:
A
Explanation:
Which of the following items are present in the function header?
A. function name and parameter (variable) list
B. parameter (variable) list
C. return value
D. function name
______ are special characters that allow you to
search for multiple words at the same time.
-Find expressions
-Defined expressions
-Regular expressions
-Search expressions
Answer:
Defined Expression
Explanation:
This will be your answer
CH4 has how many of each type of atom?
Its easy that moderators that see this answer can think that my answer isn't without explanation.
• Type of atom C (Carbon)
C = 1
• Type of atom H (Hydrogen)
H = 4
You dont understand? JUST SEE THE FORMULA C MEANS ONLY HAVE 1 CARBON ATOM AND H4 MEANS 4 ATOM OF HYDROGEN
oK. have a nice day hope you understands
EASY In the image, what will be the result of pressing the Delete key
TWO times?
O Determation
O Determination
O Determinion
O Determition
Overview
A big group of 15 guests is getting together at a restaurant for a birthday. The restaurant has 3 tables that can each seat only 5 people. Below you can find some information about the people who are attending the party.
Aysha, Ben, Carla, Damien, Eric, Fan, Genaro, Hannah, Isaias, Jessica, Kyla, Laila, Max, Nazek, Owen
Close Friends (Try to put them together)
Aysha and Damien
Max and Isaias
Nazek and Laila
Owen and Genaro
Ben and Jessica
Genaro and Eric
In a Fight (Try to keep them apart)
Aysha and Genaro
Ben and Hannah
Fan and Max
Damien and Laila
Isaias and Owen
Kyla and Jessica
Objective
Find the best possible arrangement of guests at the party. Draw your solution in the space below. To help you can cross out the letters of the names you’ve assigned in the row below.
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
Answer:
the answer is in the image below:
Explanation:
Josh wrote the following e-mail to his co-worker. PLEASE HELP QUWICK
i need the figues to enter them into my DBA presentation. ASAP. please send.
This is an example of _____.
effective communication
nonverbal communication
ineffective communication
workplace communication
Answer:
Answer choice 4
Explanation:
If Josh sends an e-mail to his... co-worker.... wouldn't that be... workplace communication?
Prompt
Using complete sentences post a detailed response to the following.
While visiting a friend’s house, you hear their siblings arguing over whether or not “visual novels” are “real games” or not. You hear Boris, the older sibling, saying “…and you just sit there and click to read the next line—you might as well be reading a comic book and turning a page and call that a ‘game’!” When they find out you’ve been taking a class on game design, they ask you to settle the argument for them. What would you say to them?
Answer:
As long as it works like a game and not a book i would say its a game.
Explanation:
jeff has just upgraded from windows 7 to windows 10 and he is confused. He has started several universal apps but he can't figure out how to close them. how would you explain the process for closing a universal app?
Answer: Find the app you want to close, then go to the moveable panel and click the X.
What is another name for control structure
Object
Sequence
Loop
Decision
Answer: Sequence
Brainliest me and reply if im right!
the internet is a network of only ten thousands computers true or false
With saying why true or why false
Thanks
Answer: False
Reason: There's a lot more then 10 thousand computers on the internet.
besides earning money why do people work
Answer:
to make a name for themselves
Explanation:
Your computer system looses power while you are working on a project for a very important client
isljgaek jadkghdkjhasdkjfhadskj afhdsfkjdahk dh
Answer:
I never knew that, thank you for telling me! I'll note that down
Write a program that takes in a positive integer as input, and outputs a string of 1's and 0's representing the integer in binary. For an integer x, the algorithm is:
As long as x is greater than 0
Output x % 2 (remainder is either 0 or 1)
x = x // 2
Note: The above algorithm outputs the 0's and 1's in reverse order. You will need to write a second function to reverse the string.
Ex: If the input is:
6
the output is:
110
Your program must define and call the following two functions. The function integer_to_reverse_binary() should return a string of 1's and 0's representing the integer in binary (in reverse). The function reverse_string() should return a string representing the input string in reverse.
def integer_to_reverse_binary(integer_value)
def reverse_string(input_string)
Note: This is a lab from a previous chapter that now requires the use of a function.
Answer:
#include <iostream>//header file
#include <string>//header file
using namespace std;
string integer_to_reverse_binary(int integer_value)//defining a method integer_to_reverse_binary
{
string ret = "";//defining string variable
while (integer_value > 0) //using while loop to check integer_value value is greater than 0
{
ret += '0' + (integer_value % 2);//adding zeros in remainder value
integer_value /= 2;//holding quotient value
}
return ret;//return string value
}
string reverse_string(string input_string)//defining a method reverse_string that holds a parameter user_String
{
string result;//defining a string variable
for (int i = 0; i < input_string.length(); ++i)//use for loop to calculate value
{
result += input_string[input_string.length()-i-1];//add value in result variable
}
return result;//result result variable value
}
int main()//defining main method
{
int num;//defining integer variable
string str;//defining string variable
cin >> num;//input num value
str = integer_to_reverse_binary(num);//use str variable to call the integer_to_reverse_binary method
cout << reverse_string(str) << endl;//printing the reverse_string method value
return 0;
}
Output:
6
110
Explanation:
In this code two string method "integer_to_reverse_binary and reverse_string" is defined that holds one parameter "integer_value and input_string".
In the first method a string variable is defined, that use the while loop to check integer value is greater than 0 and add zeros in the value and return its value as a string.
In the second it reverse the string value and store into the result variable, and in the main method the "num and str" variable is defined, and in the num it takes integer value and pass into the above method and print its return value.
Count operation Lucky twos
Lucky Twos determines and displays the number of digits that are 2s in a whole number. For example, the number of 2s in 3487 is 0, while the number of 2s in 272521 is 3. Note: whole numbers are non-negative integers starting at zero 0, 1, 2, 3, 4.
Assume that the fractional part is discarded in the division:
10 / 4 = 2
8 / 5 = 1
20 / 3 = 6
Read number
set count to 0
while number > 0
If the number module 10 is Then add
1 to count
End If
Compute number as number / 10
End while
Display count.
Let n be the number of digits of the whole number. What is the number of operations that are executed in the code in terms of n?
Answer:
Following are the solution to this question:
Explanation:
Its complexity of both the pseudo-code described is indeed proportional to the number of digits. So, how often number there are in this specific number is the query. Whenever a number is considered, the d digit would be between [tex]10^{(d-1)}.[/tex] inclusive exclusive [tex]10^d[/tex] That would be as, let d become the number of digits at N, and the inequalities, They can tell
[tex]10^{(d-1)} \leq N < 10^d[/tex]
We get, we take a logarithm,
[tex]d-1 \leq \log(N) < d[/tex]
The increase of 1 to the left inequality, [tex]d \leq \log(N)+1[/tex], and Combining the previous outcome, we got, [tex]\log(N) < d \leq \log(N) + 1[/tex]. That's would be to say, that number of number d by [tex]O(\log(N))[/tex] is higher and lower. Consequently, the number of transactions in the code is [tex]O(\log(N))[/tex]
We have that the number of operations that are executed in the code in terms of n is mathematically given as
The quantity of operations done in the code is O(log(N))
Operation
Generally the equation for the is mathematically given as
If we think about a number,
with d digits is between 10^(d-1) inclusive and 10^d exclusive.
Let d be the wide variety of digits in N
10^(d-1) <= N < 10^d
d-1 <= log(N) < d
d <= log(N) + 1,
The Inequality
log(N) < d <= log(N) + 1.
Therefore
The quantity of operations done in the code is O(log(N))
For more information on Inequality visit
https://brainly.com/question/19491153
“A school is looking to build a new 30 desktop PC computer suite. The school has limited funds available. The PCs will have a lot of different software installed as well as an operating system and multiple students’ profiles.” [6 marks]
Answer:
it depend on the software the computer has along with how much data it can hold
Explanation:
Answer:
Depends on the software code the computer has
Explanation: