Answer:
A Presentation software allows you to transmit your presentation over the internet using CDs??????????????????C
Answer:
The different variable in C is 21213316700.
Explanation:
Given value:
Total value = letters + underscore value
Total value = 52 + 1
Total value =53
choice for first character = 53 letters +10 digits
first character = 63
choice for remaining characters
So,
Variable number With one 1 character = 53
Variable number With 2 character = 53 × 63
Variable number With 3 character = 53 × 63²
Variable number With 4 character = 53 × 63³
.
.
.
Variable number With 7 character =
Total difference variable = 53 + 53 × 63+ 53 × 63²+ 53 × 63³+....+
Total difference variable = 53(1 + 63 + 63²+ 63³+ .... + )
Formula:
Total difference variable
Answer:
import java.util.Scanner;
public class num9 {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
System.out.println("Enter year");
int givenYear =in.nextInt();
if(givenYear>=2101){
System.out.println("Distant Future");
}
else if(givenYear>=2001){
System.out.println("21st Century");
}
}
}
Explanation:
Using First fit algorithm:
Using Best-fit algorithm:
Using Worst-fit algorithm:
Properly labeling the six different processes would be:
Best fit algorithm is the best as the name suggests, while the worst fit algorithm is the worst as not all memory is allocated
Read more about memory partitions here:
brainly.com/question/12726841
Answer:
We have six memory partitions, let label them:
100MB (F1), 170MB (F2), 40MB (F3), 205MB (F4), 300MB (F5) and 185MB (F6).
We also have six processes, let label them:
200MB (P1), 15MB (P2), 185MB (P3), 75MB (P4), 175MB (P5) and 80MB (P6).
Using First-fit
The remaining free space while using First-fit include: F1 having 10MB, F2 having 90MB, F3 having 40MB as it was not use at all, F4 having 5MB, F5 having 115MB and F6 having 10MB.
Using Best-fit
The remaining free space while using Best-fit include: F1 having 25MB, F2 having 170MB as it was not use at all, F3 having 25MB, F4 having 5MB, F5 having 45MB and F6 having no space remaining.
Using Worst-fit
The remaining free space while using Worst-fit include: F1 having 100MB, F2 having 90MB, F3 having 40MB, F4 having 5MB, F5 having 100MB and F6 having 110MB.
Explanation:
First-fit allocate process to the very first available memory that can contain the process.
Best-fit allocate process to the memory that exactly contain the process while trying to minimize creation of smaller partition that might lead to wastage.
Worst-fit allocate process to the largest available memory.
From the answer given; best-fit perform well as all process are allocated to memory and it reduces wastage in the form of smaller partition. Worst-fit is indeed the worst as some process could not be assigned to any memory partition.
b.What would the time be at 3 M bits/sec, a representative of download speed of a DSL connection?
(c) Repeat a and b when the image is RGB colored with 8 bits for each primary color. f 20 colored frames per second
Answer: a) 0,19 seg. b) 3,2 seg. c) 11,5 seg. d) 192 seg.
Explanation:
a) For each pixel in the image, we use 8 bits + 1 start bit + 1 stop bit= 10 bits.
b) If the modem speed changes to 3 Mb/s, all we need to do is just use the same equality, as follows:
c) Now, if we need to transmit a colored image , at a rate of 20 f/sec, we need to calculate first how many bits we need to transmit, as follows:
d) Same as c) replacing 50 Mb/s by 3 Mb/s, as follows:
The time that's required to transmit an image of 1200x800 pixels with 8 bits for gray is 151.6 million seconds.
The time required to transmit an image of 1200x800 pixels with 8 bits for gray will be:
= (1200 × 800 × 8) / 50
= 151.6 million seconds.
The time needed to be at 3 M bits/sec, a representative of download speed of a DSL connection will be:
= 7.68/3
= 2.56 seconds.
Learn more about time on:
Answer:
The answer is "Public Key".
Explanation:
PKI stands for public key infrastructure. It is a collection of functions, protocols, equipment, code, and procedures that require to create, maintain, transmit, store and cancel encrypted certs and handle the authentication of a public key.
Write a program that takes as inputs the hourly wage, total regular hours, and total overtime hours and displays an employee’s total weekly pay.
Below is an example of the program inputs and output:
Enter the wage: $15.50
Enter the regular hours: 40
Enter the overtime hours: 12
The total weekly pay is $899.0
Written here is a Python program that calculates the total weekly pay for an employee based on the given inputs:
python
# Get inputs from the user
hourly_wage = float(input("Enter the wage: $"))
regular_hours = float(input("Enter the regular hours: "))
overtime_hours = float(input("Enter the overtime hours: "))
# Calculate total weeklypay
regular_pay = hourly_wage * regular_hours
overtime_pay = 1.5 * hourly_wage * overtime_hours
total_weekly_pay = regular_pay + overtime_pay
# Display the result
print(f"The total weekly pay is ${total_weekly_pay:.1f}")
Copy and paste this code into a Pythoninterpreter or a script file, and run it. It will prompt you to enter the hourly wage, regular hours, and overtime hours, and then it will calculate and display the total weekly pay based on the given formula.
In the example you provided, the result was rounded to one decimal place. If you want a different level of precision in the output, you can adjust the formatting in the `print` statement accordingly.
Learn more about Program at:
#SPJ3
wage = float(input("Enter the wage: $"))
regular_hours = float(input("Enter the regular hours: "))
overtime_hours = float(input("Enter the overtime hours: "))
print(f"The total weekly pay is ${(regular_hours * wage) + ((wage*1.5) *overtime_hours)}")
I hope this helps!