Answer:
A modem is the internal or external device its function is to transfer data over communication lines
modems use two different types of data transmission
synchronous and asynchronous
The functions of modem have changed over years it was first used for telegrams and to transmit data in 1950s.
Modems were used with computers in 1977 for first time to transmit data between computers firstly it was used for small amount of computers
As modem improves day by day and were able to transmit information fastly between two or more hosts and the internet network slowly spreads
There are four types of modems ,
1 Fax Modems which solely transfer data between fax machines
2 The traditional ISDN modem
3 the Digital Subscribers Line
4 the Cable Modem
Explanation:
A modem is simply a device that is used to transfer data over communication lines.
The function of a modem is to modulate an analog carrier signal to be able to carry digital information. It's also important to demodulate an identical signal.
A modem can also be referred to as the hardware device that connects a computer to a broadband network. It's vital in transmitting and decoding signals.
Read related link on:
https://brainly.com/question/23462518
Is there any difference beetween the old version of spyro released on the origional and the newer ones??? or is it only change in graphix does that mean that the game had to be remade to fit a new console?
Answer:
yes and no.
Explanation:
the graphics have changed, but there have also been remastered versions of spyro and completely new spyro games
i recommend playing spyros reignited trilogy its three newer spyro games for console
6. Which of the following games will most likely appeal to a casual player?
a) Wii Sport
b) Contra
c) Farmville
d) Both A and C
Answer:
A
Explanation:
Wii sports is a good game for a casual player. :)
Susan needs to configure a WHERE condition in the code for a macro. Which option will she use?
Database Analyzer
Macro Builder
Expression Builder
Condition Formatter
Answer:condition formatter have a blessed day.
Explanation:
Answer:
D) Condition Formatter took the test
Explanation:
Write a program that creates a list (STL list) of 100 random int values. Use the iterators to display all the values of the list in order and in reverse order. Use the sort function to sort the list of values and output the list. g
Answer:
The program is as follows:
#include <bits/stdc++.h>
#include <iostream>
using namespace std;
int main(){
list <int> myList;
for(int i=0;i<100;i++){
myList.push_back(rand()%100); }
list <int> :: iterator it;
cout<<"Forward: ";
for(it = myList.begin(); it != myList.end(); ++it){
cout <<*it<<" "; }
cout<<"\nReversed: ";
std::copy(myList.rbegin(),myList.rend(),std::ostream_iterator<int>(std::cout, " "));
myList.sort();
cout<<"\nSorted: ";
for(it = myList.begin(); it != myList.end(); ++it){
cout <<*it<<" "; }
return 0;
}
Explanation:
This declares the list
list <int> myList;
The following iteration generates 100 random integers into the list
for(int i=0;i<100;i++){
myList.push_back(rand()%100); }
This initializes an iterator
list <int> :: iterator it;
This prints the header "Forward"
cout<<"Forward: ";
This iterates through the list and prints it in order
for(it = myList.begin(); it != myList.end(); ++it){
cout <<*it<<" "; }
This prints the header "Reversed"
cout<<"\nReversed: ";
This uses ostream_iterator to print the reversed list
std::copy(myList.rbegin(),myList.rend(),std::ostream_iterator<int>(std::cout, " "));
This sorts the list in ascending order
myList.sort();
This prints the header "Reversed"
cout<<"\nSorted: ";
This iterates through the sorted list and prints it in order
for(it = myList.begin(); it != myList.end(); ++it){
cout <<*it<<" "; }
1. Write a Python code to:
1. a. Find the inverse of the following matrix. Show that the matrix you found satisfies the definition of a multiplicative inverse.
(AA' = A'A= 1) A [i 4 3 21 1 7 4 5 =I 72 5 3 1 (1 3 29 [4 3 2] 3 -1 2 61
b. Find a 3 x 4 matrix X such that 5 6 3 X = 7 4 1 5 . 3 5 2 5 2 4 1
Show that the matrix X satisfies the above equation.
2. Following the instructions given in the text, section 3.4.4, use Python to solve problems 3.4.9 and 3.4.10, i.e., enter the Python commands to determine the eigenvalues, eigenvectors and characteristic polynomial for the 3 x 3 matrices given in these problems. From these results, write the general solutions in vector form. (Note that Python is not used in writing the general solutions; just apply the ideas discussed in class and write (by hand) the general solutions.)
Answer:
hope this help and do consider giving brainliest
Explanation:
1)
a)
import numpy as np
A=np.array([[1,4,3,2],[1,7,4,5],[2,5,3,1],[1,3,2,9]]);
print("Inverse is");
B=np.linalg.inv(A);
print(B);
print("A*A^-1=");
print(np.dot(A,B));
print("A^-1*A=");
print(np.dot(B,A));
2)
import numpy as np
A=np.array([[4,3,2],[5,6,3],[3,5,2]]);
B=np.array([[3,-1,2,6],[7,4,1,5],[5,2,4,1]]);
X=np.dot(np.linalg.inv(A),B);
print("X=");
print(X);
Write a piece of code that constructs a jagged two-dimensional array of integers named jagged with five rows and an increasing number of columns in each row, such that the first row has one column, the second row has two, the third has three, and so on. The array elements should have increasing values in top-to-bottom, left-to-right order (also called row-major order). In other words, the array's contents should be the following: 1 2, 3 4, 5, 6 7, 8, 9, 10 11, 12, 13, 14, 15
PROPER OUTPUT: jagged = [[1], [2, 3], [4, 5, 6], [7, 8, 9, 10], [11, 12, 13, 14, 15]]
INCORRECT CODE:
int jagged[][] = new int[5][];
for(int i=0; i<5; i++){
jagged[i] = new int[i+1]; // creating number of columns based on current value
for(int j=0, k=i+1; j jagged[i][j] = k;
}
}
System.out.println("Jagged Array elements are: ");
for(int i=0; i for(int j=0; j System.out.print(jagged[i][j]+" ");
}
System.out.println();
}
expected output:jagged = [[1], [2, 3], [4, 5, 6], [7, 8, 9, 10], [11, 12, 13, 14, 15]]
current output:
Jagged Array elements are:
1
2 3
3 4 5
....
Answer:
Explanation:
The following code is written in Java and it uses nested for loops to create the array elements and then the same for loops in order to print out the elements in a pyramid-like format as shown in the question. The output of the code can be seen in the attached image below.
class Brainly {
public static void main(String[] args) {
int jagged[][] = new int[5][];
int element = 1;
for(int i=0; i<5; i++){
jagged[i] = new int[i+1]; // creating number of columns based on current value
for(int x = 0; x < jagged[i].length; x++) {
jagged[i][x] = element;
element += 1;
}
}
System.out.println("Jagged Array elements are: ");
for ( int[] x : jagged) {
for (int y : x) {
System.out.print(y + " ");
}
System.out.println(' ');
}
}
}
For this exercise, you are given the Picture class and the PictureTester class. The Picture class has two instance variables. You will need to finish the class by writing getter and setter methods for these two instance variables.
Then in the PictureTester class a Picture object has been created for you. You will need to update this object and then print using the getter methods you created.
public class Picture
{
private String name;
private String date;
public Picture(String theName, String theDate){
name = theName;
date = theDate;
}
// Add getter and setter methods here.
// method names should be:
// getName, setName, getDate, setDate
}
Answer:
hope this helps, do consider giving brainliest
Explanation:
public class Picture {
// two instance variables
private String name;
private String date;
// Parameterized constructor
public Picture(String name, String date) {
super();
this.name = name;
this.date = date;
}
/**
* return the name
*/
public String getName() {
return name;
}
/**
* param name the name to set
*/
public void setName(String name) {
this.name = name;
}
/**
* return the date
*/
public String getDate() {
return date;
}
/**
* param date the date to set
*/
public void setDate(String date) {
this.date = date;
}
}
----------------------------------------------------TESTER CLASS---------------------------------------------------------------------
package test;
public class PictureTester {
public static void main(String[] args) {
// TODO Auto-generated method stub
// creating Picture object (pic is the reference variable) and we are invoking the constructor by passing // values of name and date
Picture pic = new Picture("flower_pic", "28-04-2020");
// now we will first use get method
String name = pic.getName();
String date = pic.getDate();
// displaying the value fetched from get method
// value will be name - flower_pic and date - 28-04-2020
System.out.println("[ Name of the Picture - "+name+" and Date - "+date+" ]");
// now we will use set method to set the value of name and date and then display that value
// declaring two variable
String name1 = "tiger_pic";
String date1 = "28-03-2020";
//assigning those value using set method
pic.setName(name1);
pic.setDate(date1);
System.out.println("[ Name of the Picture - "+pic.getName()+" and Date - "+pic.getDate()+" ]");
}
}
-) Files are organized in:
i) RAM
iii) Directories
ii) Cache
iv) None of the above
Answer:
iii) Directories.
Explanation:
Files are organized in directories. These directories are paths that describes the location wherein a file is stored on a computer system. Thus, it is generally referred to as file folders.
For example, a directory would be C:/Users/Lanuel/Music/songs of joy.mp3.
In an employee database, an employee's ID number, last name, first name, company position, address, city, state, and Zip Code make up a record. true false
Answer:
false
Explanation:
Circle class
private members
double radius
double xPos
double yPos
public members
double diameter()
get the diameter of the Circle. It returns a value, diameter.
double area()
calculate the area of the Circle
double circumference()
calculate the circumference of the circle
double getRadius()
returns the radius
double getX()
returns the xPos value
double getY()
returns the yPos value
void setX(double x)
sets xPos, no requirements
void setY(double y)
sets yPos, no requirements
double distanceToOrigin()
returns the distance from the center of the circle to the origin
HINT: Find out how to calculate the distance between two points and recall the origin is at (0,0)
bool insersect(const Circle& otherCircle)
Take another Circle by const reference (see more notes below)
Returns true if the other Circle intersects with it, false otherwise
bool setRadius(double r)
sets the radius to r and returns true if r is greater than zero, otherwise sets the radius to zero and returns false
Remember, you will need a header file (.h) and an implementation file (.cpp)
You'll also need to update your Makefile
NOTE: The Circle class should not do any input or output.
CircleDriver class
private members
Circle circ1;
Circle circ2;
void obtainCircles()
Talk with the user to obtain the positions and radii for two Circles from the user. Repeats prompts until the user gives valid values for the radii
It does not validate the values, but rather checks the return value from a call to Circle's setRadius method
void printCircleInfo()
Prints the following information about each of the Circles to the screen:
The location of the Circle's center (xPos, yPos), the distance from the origin, each area, circumference, diameter
Lastly print whether or not the two circles intersect
Sample output from printCircleInfo().
Information for Circle 1:
location: (0, 50.0)
diameter: 200.0
area: 31415.9
circumference: 628.318
distance from the origin: 50.0
Information for Circle 2:
location: (50.0, 0)
diameter: 200.0
area: 31415.9
circumference: 628.318
distance from the origin: 50.0
The circles intersect.
public membersvoid run()
run merely calls all the other methods. Here's your definition for run()
//This will go in your CircleDriver.cpp
void CircleDriver::run()
{
obtainCircles();
printCircleInfo();
}
main
Main does very little. In fact, here is your main:
int main()
{
CircleDriver myDriver;
myDriver.run();
return(0);
}
Answer:
What was the actual the question? I am confused.
Explanation:
Which of the following is not an advantage of e-commerce for consumers?
a. You can choose goods from any vendor in the world.
b. You can shop no matter your location, time of day, or conditions.
c. You have little risk of having your credit card number intercepted.
d. You save time by visiting websites instead of stores.
Answer: c. You have little risk of having your credit card number intercepted.
====================================
Explanation:
Choice A is false because it is an advantage to be able to choose goods from any vendor from anywhere in the world. The more competition, the better the outcome for the consumer.
Choice B can also be ruled out since that's also an advantage for the consumer. You don't have to worry about shop closure and that kind of time pressure is non-existent with online shops.
Choice D is also a non-answer because shopping online is faster than shopping in a brick-and-mortar store.
The only thing left is choice C. There is a risk a person's credit card could be intercepted or stolen. This usually would occur if the online shop isn't using a secure method of transmitting the credit card info, or their servers are insecure when they store the data. If strong encryption is applied, then this risk can be significantly reduced if not eliminated entirely.
Answer:
c. You have little risk of having your credit card number intercepted.
Explanation:
Hope this helps
Suppose the program counter is currently equal to 1700 and instr represents the instruction memory. What will be the access of the next instruction if:
instr[PC] = add $t0, $t1, $t2
Answer:
C
Explanation:
omputer chip
sorry btw
10.The front end side in cloud computing is
Answer:
The front end is the side the computer user, or client, sees. The back end is the "cloud" section of the system.
The front end includes the client's computer (or computer network) and the application required to access the cloud computing system.
Explanation:
can i have brainliest please
Write a function process_spec that takes a dictionary (cmap), a list (spec) and a Boolean variable (Button A) as arguments and returns False: if the spec has a color that is not defined in the cmap or if Button A was pressed to stop the animation Otherwise return True
Answer:
Explanation:
The following code is written in Python. The function takes in the three arguments and first goes through an if statement to check if Button A was pressed, if it was it returns False otherwise passes. Then it creates a for loop to cycle through the list spec and checks to see if each value is in the dictionary cmap. If any value is not in the dictionary then it returns False, otherwise, it returns True for the entire function.
def process_spec(cmap, spec, buttonA):
if buttonA == True:
return False
for color in spec:
if color not in cmap:
return False
return True
The Freeze Panes feature would be most helpful for which situation?
A.when the functions used in a worksheet are not working correctly
B.when a large worksheet is difficult to interpret because the headings disappear during scrolling
C.when the data in a worksheet keeps changing, but it needs to be locked so it is not changeable
D.when a large worksheet is printing on too many pages
Answer:
i think a but not so sure
Explanation:
Answer: Option B is the correct answer :)
Explanation:
Develop a stored procedure that will take a state abbreviation as a parameter and list the name of the state, vendor, and total amount still owed on invoices for the vendor with the highest amount still owed in that state, i.e. list the vendor (along with their state and amount owed) with the most money still owed for a given state. (List only vendors to whom a positive amount is still owed; omit vendors to whom no amount is owed). The Canvas assignment includes a link to a script for a partially completed stored procedure called owed_to_state_vendors. Review the code, including the comments, to understand the requirements of the stored procedure. You will complete the stored procedure, using the comments as a guide. Use of a CTE is advised to accomplish this task.
Answer:
ummm so sorry
Explanation:
i will try to help u just give me a sec
12. ______ is considered to be the first video game mascot.
a) Pinky
b) Bowser
c) E. T. Extra-Terrestrial
d) Pac-Man
a user called to inform you that the laptop she purchased yesterday is malfunctioning and will not connect to her wireless network. You personally checked to verify that the wireless worked properly before the user left your office. the user states she rebooted the computer several times but the problems still persists. Which of the following is the first step you should take to assist the user in resolving this issue?
Please assist with the following questions:
2. Many successful game companies have adopted this management approach to create successful and creative video games.
a) Creating a creative and fun workspace for employees
b) Offering free lunches and snacks.
c) Having a good design idea to start with.
d) Having enough material and human resources to work with.
4. The concept of high score was first made popular in which of the following games?
a) Pong
b) Space Invaders
c) Pac-Man
d) Magnavox Odyssey
5. Which of the following people is credited with creating the first successful video game?
a) Al Alcorn
b) Ralph Baer
c) Shigeru Miyamoto
d) Nolan Bushnell
7. Zork featured a tool which allowed players to write commands in plain English called _____.
a) language parser
b) language commander
c) zork speech
d) Babble fish
Answer:
c. A. D.B.
Explanation:
15. Feelings (maps, coins, clues, etc.) and the invisClue books were some innovative ways used to keep __________ players engaged with the game when not playing.
a) Smirk
b) zork
c) The Legend of Zelda
d) Pong
Answer:
pong i could be wrong i think its right tho
Explanation:
WILLING TO GIVE 50 POINTS PLS HELP Every appliance has an appliance tag that shows the amount of power the appliance uses. Appliance tags are usually on the bottom of the appliance. Along with other details, the tag gives information about the electric power the appliance consumes per unit of time.
Dorian took a picture of the appliance tag on the bottom of his family's blender, which is a kitchen appliance used to mix and puree foods.
Read the tag, and select the correct value from each drop-down menu.
The tag lists the ______(V) that the appliance runs at and its
_______ in watts (W). According to the tag, Dorian's blender uses
watts ________of power.
Part B
Think about the appliances and electronics you interact with every day. List one appliance that you think uses less power than the blender and one appliance that you think uses more power than the blender. Be sure to explain your reasoning.
Answer:
Part a: The tag lists the
(voltage)
(V) that the appliance runs at and its
(power)
in watts (W). According to the tag, Dorian's blender uses (120)
watts of power.
so your answers are voltage, then power, then 120.
c.
b.
b.
Part B:
One appliance that uses less power Then I blender would probably be a microwave. This is because you need to have electricity moving rapidly to move the blades in a blender compared to the microwave which you just need to keep a steady pace. One appliance that I think would use more power than a blender would definitely be an oven. This is because It does use steady current power just like the microwave but it uses it for way longer which takes up more power than rapid power in a blender for a short time.
Explanation:
For example, 150 watts (blender) and 300 watts (oven) have a 150-watt difference, sort of like subtraction in some cases!
Hope This Helps!!
:)
This project must target a Unix platform and execute properly on our CS1 server.
The project must be written in C, C++, or Java.
Problem Overview
This project will simulate a scheduler scheduling a set of jobs.
The project will allow the user to choose a scheduling algorithm from among the six presented in the textbook. It will output a representation of how the jobs are executed.
Design
You may design your own implementation approach, but here are a few constraints.
Your program should read in a list of jobs from a tab-delimited text file named jobs.txt. The format of the text file should have one line for each job, where each line has a job name, a start time and a duration. The job name must be a letter from A-Z. The first job should be named A, and the remaining jobs should be named sequentially following the alphabet, so if there are five jobs, they are named A-E. The arrival times of these jobs should be in order.
The scheduler choice should be a command-line parameter that is one of the following: FCFS, RR, SPN, SRT, HRRN, FB, ALL. If ALL is input, the program should produce output for all six scheduling algorithms. RR and FB should use a quantum of one. FB should use three queues.
Your output should be a graph as shown in the slides. The graph can be text or you can use a graphics package such as JavaFX to draw the graph. For text, you may draw the graph down the page rather than across.
Your program should be able to reproduce the sample shown in the book as well as any similar set of jobs.
Sample Output
Below is sample text-based output. For graphical output, you can make the graph look like the ones in the textbook and slides.
FCFS
A XXX
B XXXXXX
C XXXX
D XXXXX
E XX
FCFS (this is another way you may print the output instead of the one above)
A B C D E
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
Answer:
hope this helps ,if it did pls do consider giving brainliest
Explanation:
// Java program for implementation of FCFS scheduling
import java.text.ParseException;
class GFG {
// Function to find the waiting time for all
// processes
static void findWaitingTime(int processes[], int n,
int bt[], int wt[]) {
// waiting time for first process is 0
wt[0] = 0;
// calculating waiting time
for (int i = 1; i < n; i++) {
wt[i] = bt[i - 1] + wt[i - 1];
}
}
// Function to calculate turn around time
static void findTurnAroundTime(int processes[], int n,
int bt[], int wt[], int tat[]) {
// calculating turnaround time by adding
// bt[i] + wt[i]
for (int i = 0; i < n; i++) {
tat[i] = bt[i] + wt[i];
}
}
//Function to calculate average time
static void findavgTime(int processes[], int n, int bt[]) {
int wt[] = new int[n], tat[] = new int[n];
int total_wt = 0, total_tat = 0;
//Function to find waiting time of all processes
findWaitingTime(processes, n, bt, wt);
//Function to find turn around time for all processes
findTurnAroundTime(processes, n, bt, wt, tat);
//Display processes along with all details
System.out.printf("Processes Burst time Waiting"
+" time Turn around time\n");
// Calculate total waiting time and total turn
// around time
for (int i = 0; i < n; i++) {
total_wt = total_wt + wt[i];
total_tat = total_tat + tat[i];
System.out.printf(" %d ", (i + 1));
System.out.printf(" %d ", bt[i]);
System.out.printf(" %d", wt[i]);
System.out.printf(" %d\n", tat[i]);
}
float s = (float)total_wt /(float) n;
int t = total_tat / n;
System.out.printf("Average waiting time = %f", s);
System.out.printf("\n");
System.out.printf("Average turn around time = %d ", t);
}
// Driver code
public static void main(String[] args) throws ParseException {
//process id's
int processes[] = {1, 2, 3};
int n = processes.length;
//Burst time of all processes
int burst_time[] = {10, 5, 8};
findavgTime(processes, n, burst_time);
}
}
// Java program to implement Shortest Job first with Arrival Time
import java.util.*;
class GFG {
static int[][] mat = new int[10][6];
static void arrangeArrival(int num, int[][] mat) {
for (int i = 0; i < num; i++) {
for (int j = 0; j < num - i - 1; j++) {
if (mat[j][1] > mat[j + 1][1]) {
for (int k = 0; k < 5; k++) {
int temp = mat[j][k];
mat[j][k] = mat[j + 1][k];
mat[j + 1][k] = temp;
}
}
}
}
}
static void completionTime(int num, int[][] mat) {
int temp, val = -1;
mat[0][3] = mat[0][1] + mat[0][2];
mat[0][5] = mat[0][3] - mat[0][1];
mat[0][4] = mat[0][5] - mat[0][2];
for (int i = 1; i < num; i++) {
temp = mat[i - 1][3];
int low = mat[i][2];
for (int j = i; j < num; j++) {
if (temp >= mat[j][1] && low >= mat[j][2]) {
low = mat[j][2];
val = j;
}
}
mat[val][3] = temp + mat[val][2];
mat[val][5] = mat[val][3] - mat[val][1];
mat[val][4] = mat[val][5] - mat[val][2];
for (int k = 0; k < 6; k++) {
int tem = mat[val][k];
mat[val][k] = mat[i][k];
mat[i][k] = tem;
}
}
}
// Driver Code
public static void main(String[] args) {
int num;
Scanner sc = new Scanner(System.in);
System.out.println("Enter number of Process: ");
num = sc.nextInt();
System.out.println("...Enter the process ID...");
for (int i = 0; i < num; i++) {
System.out.println("...Process " + (i + 1) + "...");
System.out.println("Enter Process Id: ");
mat[i][0] = sc.nextInt();
System.out.println("Enter Arrival Time: ");
mat[i][1] = sc.nextInt();
System.out.println("Enter Burst Time: ");
mat[i][2] = sc.nextInt();
}
System.out.println("Before Arrange...");
System.out.println("Process ID\tArrival Time\tBurst Time");
for (int i = 0; i < num; i++) {
System.out.printf("%d\t\t%d\t\t%d\n",
mat[i][0], mat[i][1], mat[i][2]);
}
arrangeArrival(num, mat);
completionTime(num, mat);
System.out.println("Final Result...");
System.out.println("Process ID\tArrival Time\tBurst" +
" Time\tWaiting Time\tTurnaround Time");
for (int i = 0; i < num; i++) {
System.out.printf("%d\t\t%d\t\t%d\t\t%d\t\t%d\n",
mat[i][0], mat[i][1], mat[i][2], mat[i][4], mat[i][5]);
}
sc.close();
}
}
In the code snippet below, pick which instructions will have pipeline bubbles between them due to hazards.
a. lw $t5, 0($t0)
b. lw $t4, 4($t0)
c. add $t3, $t5, $t4
d. sw $t3, 12($t0)
e. lw $t2, 8($t0)
f. add $t1, $t5, $t2
g. sw $t1, 16($t0)
Answer:
b. lw $t4, 4($t0)
c. add $t3, $t5, $t4
Explanation:
Pipeline hazard prevents other instruction from execution while one instruction is already in process. There is pipeline bubbles through which there is break in the structural hazard which preclude data. It helps to stop fetching any new instruction during clock cycle.
6. A genre of video game in which a player chooses a character and builds, upskills and modifies that character is referred to as _____________.
a) First person shooter game of FPS
b) Personification game
c) Action game
d) Role-playing game or RPG
what is the rate of defualt frame?
Answer:
the default frame rate is based on the frame rate of the display ( here also called *refresh rate" which is set to 60 frames per second on the most computers. A frame rate of 24 frames per second (usual for movies) or above will be enough for smooth animations
What is Microsoft Excel? Why is it so popular
Answer:
Its a spreadsheet devolpment by Microsoft.
Explanation:
Which header will be the largest?
Hello
Hello
Hello
Hello
Answer:
Bye
bye
bye
bye
Explanation:
Answer:
HELLO Hello thank you for your points...
g Points The critical section cannot be executed by more than one process at a time. false true Save Answer Q3.28 Points The code satisfies the progress condition. false true Save Answer Q3.38 Points The code satisfies the bounded waiting condition. false true Save Answer Q3.48 Points No matter how many times this program is run, it will always produce the same output. false true
Answer: Hello your question lacks some details attached below is the missing detail
answer :
a) True , B) False C) True D) True
Explanation:
a) True ; The critical section cannot be executed by more than one process at a time
b) False : The code does not satisfy the progress condition, because while loops are same hence no progress
c ) True : The code satisfies the bounded waiting condition, because of the waiting condition of the while loop
d) True : No matter how many times this program is run, it will always produce the same output, this is because of the while loop condition
Suppose a TCP segment is sent while encapsulated in an IPv4 datagram. When the destination host gets it, how does the host know that it should pass the segment (i.e. the payload of the datagram) to TCP rather than to UDP or some other upper-layer protocol
Answer and Explanation:
A host needs some datagram where TCP is encapsulated in the datagram and contains the field called a protocol. The size for the field is 8-bit.
The protocol identifies the IP of the destination where the TCP segment is encapsulated in a datagram.
The protocol field is 6 where the datagram sends through TCP and 17 where the datagram is sent through the UDP as well
Protocol with field 1 is sent through IGMP.
The packet is basic information that is transferred across the network and sends or receives the host address with the data to transfer. The packet TCP/IP adds or removes the field from the header as well.
TCP is called connection-oriented protocol as it delivers the data to the host and shows TCL receives the stream from the login command. TCP divides the data from the application layer and contains sender and recipient port for order information and known as a checksum. The TCP protocol uses the checksum data to determine that data transferred without error.
11. First featured in Donkey Kong, the jump button let to the creation of a new game category known as __________
a) the jumper
b) the performer
c) the platformer
d) the actioner
Answer:
C
Explanation: