Explanation:
i think it is are messages ariving in a timely manner?
Answer:
Is the user operating the software correctly?
Explanation:
Thats the correct one for edge
Consider a 16 GByte memory (16G locations each holding one byte). What is the number of address lines (N)?
Answer:
Number of address lines (N) = 34
Explanation:
16G locations each holding 1 byte
byte
1g 1 - 1 - 1 - 1 - 1 - 1 - 1 - 1
2g
3g
.
.
.
16g
note that; 1 byte = 8 bit
therefore for 16G location, address line(N) will be:
since it is known that [tex]2^{N}[/tex] = 16G ,and 1 gigabyte = [tex]2^{30}[/tex] byte
∴ 16G = 16 × [tex]2^{30}[/tex]
= 2⁴ × 2³⁰
= 2³⁴
since [tex]2^{N}[/tex] = 16G
∴ [tex]2^{N}[/tex] = 2³⁴
N = 34
T/F 2.In most computers, the operating system is stored on a compact disc.
Answer:
False
Explanation:
Either a Hard Drive or a SSD would be used to store the OS
Suppose you discover that you have a directory called bin2, which includes a bunch of useful programs. You want to move those programs into your bin directory, and then delete bin2. What command(s) will you give
Answer:
The MV command to move the bin2 directory to the bin directory.
Explanation:
Linux operating system uses a hierarchical arrangement of directories to organise information in its system.
It is an open source operating system with various built-in commands and other commands which can be made by a programmer.
The MV command takes a file or directory from a current directory and a destination directory.
Write a program to simulate a simple calculator. In your program ask the user to enter an operation selected from the menu, ask for two operands. Calculate the result and display it on the screen. Here is a sample run
Answer:
Written in Python:
opcode = input("Enter operator: +,-,*,/")
operand1 = float(input("Operand 1: "))
operand2 = float(input("Operand 2: "))
if opcode == "+":
print(operand1 + operand2)
elif opcode == "-":
print(operand1 - operand2)
elif opcode == "*":
print(operand1 * operand2)
elif opcode == "/":
print(operand1 / operand2)
else:
print("Invalid Operator")
Explanation:
This prompts user for operator
opcode = input("Enter operator: +,-,*,/")
The next two lines prompt user for two operands
operand1 = float(input("Operand 1: "))
operand2 = float(input("Operand 2: "))
This performs + operation if operator is +
if opcode == "+":
print(operand1 + operand2)
This performs - operation if operator is -
elif opcode == "-":
print(operand1 - operand2)
This performs * operation if operator is *
elif opcode == "*":
print(operand1 * operand2)
This performs / operation if operator is /
elif opcode == "/":
print(operand1 / operand2)
This displays invailid operator if input operator is not +,-,* or /
else:
print("Invalid Operator")
Write a function, maxRadius, to find the index of the planet with the largest radius in the array. The function should: Be named maxR
Answer:
The following c code has the maxR function as the calculator of planet radius.
Code:
#include<iostream>
#include<string>
using namespace std;
//if is not asked to import a math library, it can be used the following Pi value.
const double PI = 3.14;
class Planet
{
private:
string planet;
double r;
public:
Planet ()
{
this->planet = "";
this->r = 0.0;
}
Planet (string name, double r)
{
this->planet = name;
this->r = r;
}
string collectName () const
{
return this->planet;
}
double collectR () const
{
return this->r;
}
double collectVolume () const
{
return 4 * r * r * r * PI / 3;
}
};
int
maxR (Planet * planets, int s)
{
double maxR = 0;
int index_of_max_r = -1;
for (int index = 0; index < s; index++)
{
if (planets[index].collectR () > maxR)
{
maxR = planets[index].collectR ();
index_of_max_r = index;
}
}
return index_of_max_r;
}
int
main ()
{
Planet planets[5];
planets[0] = Planet ("On A Cob Planet", 1234);
planets[1] = Planet ("Bird World", 4321);
int idx = maxR (planets, 2);
cout << planets[idx].collectName () << endl;
cout << planets[idx].collectR () << endl;
cout << planets[idx].collectVolume () << endl;
}
Write a method called printIndexed that accepts a String as itsparameter and prints the String's characters in order followed bytheir indexes in reverse order. For example, the call ofprintIndexed("ZELDA"); should print Z4E3L2D1A0 to the console.
Answer:
def printIndexed(s):
for i in range(len(s)):
print(s[i] + str(len(s) - 1 - i), end="")
printIndexed("ZELDA")
Explanation:
*The code is in Python.
Create a method named printIndexed that takes one parameter, s
Create a for loop that iterates the length of the s times
Inside the loop, print the characters from starting and indexes from the end
Note that in order the print the current character, you need to use indexing. s[i] refers to the current character of the string (the value of the i starts from 0 and goes until length of the s - 1). Also, to print the indexes from the end, you need to subtract the i from the length of the s - 1
For example, in the first iteration, i = 0:
s[i] = s[0] = Z
len(s) - 1 - i = 5 - 1 - 0 = 4
Which physical activity can you perform at the office to avoid strain?
A.
blink your eyes often
B.
cycling
C.
physiotherapy
D.
resting for long hours
Answer:
ill say eyes because straining your eyes hurts so a
Explanation:
Which data type is -7?
O string
O int
O float
O single
Answer:
It's an int... Choose B
Answer:
int
Explanation:
correct on edge
write a C recursion function that can determine if a given number is a prime number. Must use recursion. g
A number is classified as a prime if it is greater than one and is divisible only by one and by itself. Only natural numbers are classified as prime. Before knowing more about the prime number, it is important to remember some rules of divisibility, which help in the identification of which numbers are not prime.
Code:
#include <stdio.h>
int prime_number(int, int);
int main()
{
int num, tmp;
printf("Input any integer number: ");
scanf("%d", &num);
tmp = prime_number(num, num / 2);
if (tmp == 1)
{
printf("%d is a prime number\n", num);
}
else
{
printf("%d is not a prime number\n", num);
}
return 0;
}
int prime_number(int num, int i)
{
if (i == 1)
{
return 1;
}
else
{
if (num % i == 0)
{
return 0;
}
else
{
return prime_number(num, i - 1);
}
}
}
True/False Using a RADIUS server with RRAS means that the local server database will be used to authenticate users for accessing the local network
Answer: True.
Explanation:
A RADIUS Client ( Radius Authentication Dial or Network Access Server) are networking device which works like a (VPN concentrator, router, or a switch) they are used to authenticate users. A RADIUS Server runs as a background process that is used on a UNIX, and Windows server. It mains purpose is to maintain user profiles on a central database.
Which are valid variable names? Select 2 options.
cost$
firstNumber
$cost
1stNumber
first_number
Answer:
firstNumber
first_number
Explanation: i did it ;)
Answer: firstNumber
Explanation: got it right on edgen
Which three actions can be done to panels to customize a user's Photoshop space?
Report them
Show them
Cast them
Separate them
Nest them
Answer:
Show them
Separate them
Nest them
Explanation:
In Photoshop space, the three actions that can be done to panels to customize a user's space is to show them, make them visible then nest them, and separate them.
Write a Java program that does the following: Prompts the user to input five decimal numbers Prints the five decimal numbers Converts each decimal number to the nearest integer Adds the five integers Prints the sum and average of the five integers
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner myObj = new Scanner(System.in);
float arr[] = {0,1,2,3,4};
String txt[] = {"first", "second", "third", "fourth", "fifth"};
for (int i=0;i<arr.length; i++){
System.out.println("Enter the " + txt[i] + " number.");
float num1 = myObj.nextFloat();
arr[i] = num1;
}
for (int w = 0; w< arr.length; w++){
System.out.println("The " + txt[w] + " number is " + arr[w]);
arr[w] = Math.round(arr[w]);
}
System.out.println(" ");
for (int w = 0; w < arr.length; w++){
System.out.println("The " + txt[w] + " number is " + arr[w]);
}
System.out.println(" ");
float total = 0;
for (float w : arr){
total += w;
}
System.out.println("The sum of the numbers is " + total + " and the average is " + (total / 5));
}
}
I hope this helps!
Which of the following are labels used to identify illustrations such as tables, charts and figures in a document?
O Headers
O Footers
O Captions
O Citations
There are data which are given charts, tables and illustrated by the help of some labelling. This labelling helps us to identify the data and makes us understand what the data says.
This labelled data has to be given some name and thus in order to represent the figures in a document. This term caption is given to those data sets in the form of tables and illustrations.Hence the option C is correct,
Learn more about the labels used to identify the tables, charts and figures in a document.
brainly.in/question/11644668.
11000011 00010011 00111010 00011101 / 00010010
In this example of IP address, determine: class, hostID, netID.
Answer:
Just imagine asalt rifle XD it be firing salts.....need some salt? Ask the asalt rifle.
Explanation:
Write a Python function to get the first half of a specified string of even length. Suppose the input string is "Python" ,after calling the function, we should see the output "Pyt"
In python:
def get_even(txt):
return txt[0:int((len(txt) / 2))]
We can test our function with the following code:
print(get_even("Python")) This returns "Pyt" in the console.
I hope this helps!
Answer:
c
Explanation:
Alina needs to e-mail an Excel spreadsheet to a colleague. What is the best method to send the file if she does not want the colleague to easily make changes to the original file?
selecting Send Using E-mail and sending a link
selecting Send Using E-mail and sending as a PDF
selecting Send Using E-mail and sending as an attachment
selecting Send Using E-mail and sending as a published document
Answer:
B
Explanation:
Given this instruction mix and the assumption that an arithmetic instruction requires 2 cycles, a load/store instruction takes 6 cycles, and a branch instruction takes 3 cycles, find the average CPI.
Answer:
2.6
Explanation:
I am assuming that for any given program, that 70% of it's executed instructions happen to be arithmetic, another 10% happen to be load/store, and finally, a 20% happen to be branch. If so, then I can say
Average CPI =
3Σi=1 Percentage of instructions * CPI
Average CPI = (0.7 * 2) + (0.1 * 6) + (0.2 * 3)
Average CPI = 1.4 + 0.6 + 0.6
Average CPI = 2.6
Suppose a disk drive has the following characteristics: Six surfaces 16,383 tracks per surface 63 sectors per track 512 bytes/sector Track-to-track seek time of 8.5ms Rotational speed of 7,200rpm a) What is the capacity of the drive
Answer:
The answer is "2.95 GB"
Explanation:
Given value:
Surfaces = 6
The tracks per surface =16,383
The sectors per track = 63
bytes/sector = 512
Track-to-track seek time = 8.5ms
The Rotational speed = 7,200rpm
[tex]\text{Drive capacity= surface} \times \text{tracks per surface} \times \text{sectors per track} \times \frac{bytes}{sector}[/tex]
[tex]= 6 \times 16383 \times 63 \times 512 \\\\= 3170700288 \ B\\\\ = 3023.81543 \ MB \\\\= 2.95294 \ GB\\[/tex]
The drive capacity is 2.95 GB
Which method accepts a function that combines all the elements in the array and then returns the resulting value?
a. filter()
b. reduce()
c. map()
d. forEach()
Answer:
The method that accepts a function that combines all the elements in an array and then returns the resulting values is map() method.
Explanation:
map() method creates a new array with the results of calling a provided function for every array element. map() element calls function for each array element to compute value.
what are the commonly used computer categories.
Answer:
PCs (Personal Computers) with Microsoft Windows
Explanation:
i used google. hope this helped!!!
A mutex lock is released immediately after entering a critical section. Group of answer choices True False
Answer:
False
Explanation:
The mutex lock should be purchased at the time when it would be entered in the critical section and it is released when it leaves the critical section
Also for improving out the critical resources synchronization among various processes, the mutex locks would be implemented
Therefore the given statement is false
Hence, the same is to be considered
Answer:
False
Explanation:
[tex] \: [/tex]
[tex] \: [/tex]
PEASE ANSWER QUICKLY
What is the value of the variable moneyDue after these lines of code are executed? >>>numSodas = 2 >>>costSodas = 1.50 >>>moneyDue = numSodas * costSodas
The value of moneyDue is ____.
Answer:
3.0
Explanation:
I input 90 and it was not correct, the answer is 3.0 (correct on Edg 2021) :D
Give a recursive algorithm that takes as input two non-negative integers x and y and returns the sum of x and y. The only arithmetic operations your algorithm can perform are Increment(x) which returns x 1 and Decrement(x) which returns x-1. Your algorithm should have no loops.
Answer:
Following are the code to this question:
Cal_sum(x,y)//defining a recursive method Cal_sum that takes two variable as a parameter
{
if(x==0)// defining If that checks x equal to 0
return y; //return y value
x- 1;//decreasing x value
y+1;//increasing y value
return Cal_sum(x,y)// calling method recursively
}
Explanation:
In the above-given code, a recursive method "Cal_sum" is declared, that accepts two-variable "x and y" in its parameter, and use if block to checks x is equal to 0 and return the value y variable, and, in the next step, it decreases the value of " x" by "1" and increment the value of y by "1", and call the method "Cal_sum" recursively.
The recursive program which calls itself in a function is used to return the value of y for a given x, y value in the program. The code written in python 3 goes thus :
def calc_sum (x,y) :
#initializes a function named calc_sum which takes in two arguments
if x ==0 :
#checks of the value of x is equal to 0
return y
#it returns y if x == 0
else :
#otherwise
x = x - 1
# decrease the value of x by 1
y = y + 1
#increase the value of y by 1
return calc_sum(x,y)
# calls the function recursively until x ==0
A sample run of the program is given below
print(calc_sum(4, 5 ))
Learn more :https://brainly.com/question/16027903
Which finger types the space bar?
Answer:
Thumbs
Explanation:
PLEASE HURRY!!!
Look at the image below!
The first, third, and last are correct.
What type of cipher takes one character and replaces it with one character, working one character at a time
Answer: An algorithm
Explanation: An asymmetric encryption key that does have to be protected. An algorithm that takes one character and replaces it with one character.
Functions of a microcomputer
Answer:
Many functions can have less amount of storage can have a small CPU could have smaller mother board units and also have different types of programming
6.24 LAB: Exact change - functions Write a program with total change amount as an integer input that outputs the change using the fewest coins, one coin type per line. The coin types are dollars, quarters, dimes, nickels, and pennies. Use singular and plural coin names as appropriate, like 1 penny vs. 2 pennies. Ex: If the input is:
Answer:
Written in Python
money = int(input("Enter Amount Here: "))
dollar = int(money/100)
money = money % 100
quarter = int(money/25)
money = money % 25
dime = int(money/10)
money = money % 10
nickel = int(money/5)
penny = money % 5
if dollar >= 1:
if dollar == 1:
print(str(dollar)+" dollar")
else:
print(str(dollar)+" dollars")
if quarter >= 1:
if quarter == 1:
print(str(quarter)+" quarter")
else:
print(str(quarter)+" quarters")
if dime >= 1:
if dime == 1:
print(str(dime)+" dime")
else:
print(str(dime)+" dimes")
if nickel >= 1:
if nickel == 1:
print(str(nickel)+" nickel")
else:
print(str(nickel)+" nickels")
if penny >= 1:
if penny == 1:
print(str(penny)+" penny")
else:
print(str(penny)+" pennies")
Explanation:
I've added the source code as an attachment where I used comments to explain some lines
What is a ribbon or ribbions in Microsoft Word?