Answer:
Follows are the solution to this question:
Explanation:
In point a:
N = Size of window = 4
Sequence Number Set = 1,024
Case No. 1:
Presume the receiver is k, and all k-1 packets were known. A window for the sender would be within the range of [k, k+N-1] Numbers in order
Case No. 2:
If the sender's window occurs within the set of sequence numbers [k-N, k-1]. The sender's window would be in the context of the sequence numbers [k-N, k-1]. Consequently, its potential sets of sequence numbers within the transmitter window are in the range [k-N: k] at time t.
In point b:
In the area for an acknowledgment (ACK) would be [k-N, k-1], in which the sender sent less ACK to all k-N packets than the n-N-1 ACK. Therefore, in all communications, both possible values of the ACK field currently vary between k-N-1 and k-1.
What does the fact that online games are so popular most likely prove?
A. People don't like board games.
B. Online games are an influential medium.
C. All games are addictive.
D. Everyone should play online games.
B. Online games are an influential medium.
essay regarding a magic cell phone that turns into robot
It should be noted that when writing an essay, it's important to effectively present the information to the readers.
Writing an essay.When writing the essay, the following steps are required:Create an essay outline.It's important to also develop a thesis statement.Introduce the topic.Then, write the body of the message The conclusion should be presented.It should be noted that when writing the essay, it's also important to integrate the evidence clearly and ensure that the grammar used is correct.
Learn more about essays on:
https://brainly.com/question/25607827
What weight pencil is recommended for darkening lines and for lettering? *
Answer: darkened
Explanation: darkened
Answer:
While the softer B pencils are generally considered the best for shading, there's no reason to discount the harder H pencils. The HB and H are good choices for fine, light, even shading. However, they too have drawbacks. Pencil grades from HB through H, 2H to 5H get progressively harder and are easier to keep sharp.
______ means locating a file among a set of file
Answer:
computer files
Explanation:
How would an assignee enter details, such as mileage and billing information, for a task?
Create a new task, and enter the details.
Open the status report, and enter the details.
In the main task window, click the Details button.
Within the assigned task window, scroll to the bottom.
Answer:
It's C
Explanation:
On edg
Answer:
C is correct
Explanation:
I got it on edg
In programming, what is a floating-point number?
A number with a decimal, Option A
A user is asked to type a caption for a photo in a web form's text field. If the caption didn't end with a punctuation mark (. ! ?), a period should automatically be added. A common error is to end with a comma, which should be replaced by a period. Another common error is to end with two periods, which should be changed to one period (however, ending with three periods (or more) indicates elipses so should be kept as is). The corrected caption is output. If the input is "I like pie", the output is "I like pie." If the input is "I like pie!", the output remains "I like pie!" If the input is "Coming soon…", the output remains "Coming soon…"
Answer:
Here is the c++ program:
#include <iostream> //to use input output functions
using namespace std; //to identify objects cin cout
int main() { //start of main function
string caption; //stores the caption
int last_index; //stores the index position of the last character of caption
char last_character; //stores the last character of the caption
cout<<"Please type a caption: "; //prompts user to enter a caption
getline(cin, caption); //reads the complete line of caption from user
last_index = caption.size() - 1; //sets the last_index to the last character of caption
last_character = caption.at(last_index); //sets the last_character to the last character positioned by last_index
if ((last_character == '!') || (last_character == '?')) {} /* checks if the last character of the caption is either ! or ? and if this statement evaluate to true then this does not require any action */
else if (last_character == ',') { //checks if the last character of the caption is a comma
caption.at(last_index) = '.'; } //if the else if condition is true then replace that comma with a period .
else if (last_character != '.') { //checks if the caption does not end with ! ? , .
caption.push_back('.');} //append period to the caption . if above if else condition is true
else if ((last_index > 0) && (last_character == '.') && (caption.at(last_index - 1) == '.')) { //checks if the caption has two periods .
if ((last_index > 1) && (caption.at(last_index - 2) == '.')) {} //checks if the caption has three periods and does nothing if this is true
else { //if caption has two periods
caption.pop_back();}} //removes one period if caption has two periods .
cout << caption << endl;} //displays the caption
Explanation:
I will explain the above program with an example
Lets say user input the caption: I like pie
So
caption = " I like pie"
The first if condition if ((last_character == '!') || (last_character == '?')) evaluate to false because the last character of the caption is not an exclamation mark of a question mark. So the program moves to the next else if statement:
else if (last_character == ',') This statement is also false because the last character of the caption is not a comma. So the program moves to the next else if part.
else if (last_character != '.')
Now this statement evaluate to true because the last character of the caption is not a period . sign. So this part is executed. It has a statement:
caption.push_back('.');
Now this statement uses push_back() method which adds new character i.e. period '.' at the end of the caption string, increasing its length by one.
So the output of the program is:
I like pie.
If the caption = " I like pie!" then this if ((last_character == '!') || (last_character == '?')) condition executes and since it does nothing {} so the caption remains as it is and the output is:
I like pie!
If the caption = "Coming soon…" then this else if ((last_index > 0) && (last_character == '.') && (caption.at(last_index - 1) == '.')) condition executes which checks if the caption has two period. When this condition evaluates to true then the statement inside this else if condition executes which is: if ((last_index > 1) && (caption.at(last_index - 2) == '.')) and this checks if the caption has three periods. Yes the caption has three periods so it does nothing and the caption remains as it is and the output is:
Coming soon…
However if the caption is Coming soon.. with two periods then the else part inside else if ((last_index > 0) && (last_character == '.') && (caption.at(last_index - 1) == '.')) condition executes which is: caption.pop_back(); and this removes one period from the caption and the output is:
Coming soon.
The screenshot of the program and its output is attached.
who could be involved in the murder of Mr Douglas
Answer:
Freedy Thopson
Explanation:
asking questions is super in this education life
in a blank excel workbook go to insert tab on the ribbon, which of the following is Not vailable 1 smart art 2 coloumns ( not coloumn chart) 3 shapes 4 pictures
Answer:
hahahahahahahhahahThe rows that are not available in a blank excel workbook go to the insert tab on the ribbon. The correct option is D.
What are ribbons?Click the Ribbon Display Options icon in the document's upper right corner. The Minimize icon is to the left of it. To display the Ribbon with all tabs and all commands, select Show Tabs and Commands from the menu that appears.
Basic units known as cells are created by rows and columns in an Excel workbook. There are only a set number of rows and columns available for the workspace.
There are 1,048,576 rows in the workbook's excel worksheet. It cannot be inserted using the Insert tab on the ribbon. Images, tables, and shapes can be added by selecting the tab or option for the Insert tab.
Therefore, the correct option is D, Rows.
To learn more about rows, refer to the link:
https://brainly.com/question/29889229
#SPJ2
The question is incomplete. Your most probably complete question is given below:
Pictures
Table
Shapes
Rows
The graphical user interface (GUI) was pioneered in the mid-1970s by researchers at:
A) Apple Computer
B) Microsoft
C) Xerox
D) IBM
Answer:
its C actually
Explanation:
C) Xerox plus i had a quiz
Answer:
xerox
Explanation:
Given four values representing counts of quarters, dimes, nickels and pennies, output the total amount as dollars and cents. Output each floating-point value with two digits after the decimal point, which can be achieved as follows: System.out.printf("Amount: $%.2f\n", dollars); Ex: If the input is: 4 3 2 1 where 4 is the number of quarters, 3 is the number of dimes, 2 is the number of nickels, and 1 is the number of pennies, the output is: Amount: $1.41 For simplicity, assume input is non-negative.
LAB ACTIVITY 2.32.1: LAB: Convert to dollars 0/10 LabProgram.java Load default template. 1 import java.util.Scanner; 2 3 public class LabProgram 4 public static void main(String[] args) { 5 Scanner scnr = new Scanner(System.in); 6 7 /* Type your code here. */|| 8 9) Develop mode Submit mode Run your program as often as you'd like, before submitting for grading. Below, type any needed input values in the first box, then click Run program and observe the program's output in the second box Enter program input (optional) If your code requires input values, provide them here. Run program Input (from above) 1 LabProgram.java (Your program) Output (shown below) Program output displayed here
Answer:
Replace /* Type your code here. */ with the following lines of code
int quarter =scnr.nextInt();
int dime = scnr.nextInt();
int nickel = scnr.nextInt();
int penny = scnr.nextInt();
double dollars = quarter * 0.25 + dime * 0.1 + nickel * 0.05 + penny * 0.01;
System.out.printf("Amount: $%.2f\n", dollars);
System.out.print((dollars * 100)+" cents");
Explanation:
The next four lines declare the given currencies as integer
int quarter =scnr.nextInt();
int dime = scnr.nextInt();
int nickel = scnr.nextInt();
int penny = scnr.nextInt();
This line calculates the amount in dollars
double dollars = quarter * 0.25 + dime * 0.1 + nickel * 0.05 + penny * 0.01;
The next two lines print the amount in dollars and cents respectively
System.out.printf("Amount: $%.2f\n", dollars);
System.out.print((dollars * 100)+" cents");
Given four values representing counts of quarters, dimes, nickels and pennies, the total amount in dollars and cent can be represented as follows;
#1 quarters = 0.25 dollars
#1 dime = 0.1 dollar.
#1 nickel = 0.05 dollars
#1 penny = 0.01 dollars
#quarters, dimes, nickels and pennies,
x = input("write your input here: ")
for i in x:
quarters = 0.25*float(x[0])
dime = 0.1*float(x[1])
nickel = 0.05*float(x[2])
penny = 0.01*float(x[3])
sum1 = quarters + dime + nickel + penny
print(round(sum1, 2))
Code explanation:The commented section of the code is just the conversion rate of quarters, dime, nickel and penny to dollars.
Variable x is used to store the user's input.Then, we loop through the users inputThen multiply each looped value by it conversion rate to dollars.Finally, we sum the values and print the sum rounded to 2 decimal places as required.learn more on python code here: https://brainly.com/question/24556911?referrer=searchResults
CNT Books has expanded considerably since you got the network up and running three years
ago. It now occupies an entire floor in the building, and its LAN has grown to include several
servers and more than 60 workstations.
CNT Books has recently purchased another book company and needs more space and
computers. Expansion plans include leasing another floor four stories above the current offices
in the same building and adding 35 workstations and at least one more server immediately,
with additional equipment purchases expected. [15 marks]
i. What type of network is called for—LAN, WAN, MAN, or internetwork?
Answer:
The answer to this question is given below in the explanation section
Explanation:
CNT Books has expanded considerably since you got the network up and running three years ago. It now occupies an entire floor in the building, and its LAN has grown to include several servers and more than 60 workstations.
CNT Books has recently purchased another book company and needs more space and computers. Expansion plans include leasing another floor four stories above the current offices in the same building and adding 35 workstations and at least one more server immediately, with additional equipment purchases expected.
The type of networking CNT Book will use is WAN.
LAN
A local area network (LAN) is a group of computers and peripheral devices that share a common communications line or wireless link to a server within a distinct geographic area. A local area network may serve as few as two or three users in a home-office or several hundred users in a corporation's central office
WAN
A wide area network (WAN) is a geographically distributed private telecommunications network that interconnects multiple local area networks (LANs). A LAN is a group of computers and network devices which are all connected to each other, typically from within a short relative geographical distance.
MAN
A metropolitan area network is a computer network that interconnects users with computer resources in a geographic region of the size of a metropolitan area.
internetworking
Internetworking is the process or technique of connecting different networks by using intermediary devices such as routers or gateway devices. Internetworking ensures data communication among networks owned and operated by different entities using a common data communication and the Internet Routing Protocol. internetworking is not a network type but it is a process or technique of connecting different networks by using intermediary devices.
As a producer you are willing to supply the most goods at the highest price this is because the highest price earns you the
Answer:
most money
Explanation:
common sense
Which change should she make in her outline?
Change Step 2 to “Click the Format tab.”
Change Step 3 to “Open the Chart Title dialog box.”
Change Step 4 to “Type in the chart title.”
Change Step 5 to “Add the Chart Title.”
Answer:
A
Explanation:
Please Help Me
What kinds of solutions are proposed for different IT issues, and what are their advantages and disadvantages?
Answer:
There are three basic forms of business ownership: sole proprietorship, partnership and corporation. Each of these forms of business organization has advantages and disadvantages in such areas as setting up the company, paying taxes and assessing liability for business debts
Is Zero (Sam Fisher, Rainbow Six Siege version of course) overpowered because of the fact he has a gun that does 45 damage at a fire rate of 800rpm
Answer:
Yes
Explanation:
I see his damage and rpm as unfair because of the fact that he can deal over 36,000 damage in one minute.
Programming Project: N-Queens Prerequisites: Chapter 5 For this project you will create a class that solves a variation of the 8-Queens Problem, the N-Queens Problem. If you need a recap of the 8-Queens Problem watch this video. The N-Queens Problem is identical to the 8-Queens Problem except we vary the size of the board. So, we can find the placement of queens on a 4x4 board (the 4-Queens Problem) or a 9x9 board (the 9-Queens Problem), etc. Your solution to the N-Queens Problem will be implemented entirely in the class ChessBoard which will at minimum include:
Which three skills are useful for success in any career?
Answer:
Problem solving.
Teamwork. ...
Initiative. ...
Analytical, quantitative. ...
Professionalism, work ethic. ...
Leadership. ...
Detail oriented.
Answer: Multitasking Skills, Resource- Management Skills, Time-Management Skills
Explanation: Got it correct!
Why is it important to explore an Integrated
Development Environment?
A. To learn more about the syntax of Java
B. To learn more about the features of the environment
C. To learn more about error handling
D. To learn more about abstractions
Answer:
The answer to this question is given below in the explanation section. The correct answer is B.
Explanation:
The purpose behind to explore an integrated development environment is to learn more about the features of the environment.
So the correct answer is B.
For example, you can use visual studio to build asp.net application using c#, then you need to explore what features visual studio offering to you.
However, other options are incorrect. Because, you can learn more about syntax, error handling, and abstraction in the programming language, not in the IDE.
What steps should a user take to create a secondary address book?
Open the Backstage view and Account Settings.
Open the Backstage view, and click People options.
Open the People view, and click New Address Book.
Open the People view, click Folder tab, and click New Folder.
Answer:
It's A
Explanation:
correct on edg
Answer:
A is correct on edg
Explanation:
• Open your Netbeans IDE and answer the following question
• Create a folder on the desktop. Rename it with your student name and student number
• Save your work in the folder you created.
At a certain store they sell blank CDs with the following discounts:
* 10% for 120 or more
* 5% for 50 or more
* 1% for 15 or more
* no discount for 14 or less
Write a program that asks for a number of discs bought and outputs the correct discount. Use either a switch statement or if..elseif.. ladder statements. Assuming that each blank disk costs N$3.50. The program should then calculate the total amount paid by the buyer for the discs bought.
Answer:
public static void main(String[] args)
{
int cdCount;
double cdCountAfterDiscount;
DecimalFormat df = new DecimalFormat("$##.##"); // Create a Decimal Formatter for price after discount
System.out.println("Enter the amount of CD's bought");
Scanner cdInput = new Scanner(System.in); // Create a Scanner object
cdCount = Integer.parseInt(cdInput.nextLine()); // Read user input
System.out.println("CD Count is: " + cdCount); // Output user input
if(cdCount <= 14 )
{
System.out.println("There is no discount");
System.out.println("The final price is " + cdCount*3.5);
}
if(cdCount >= 15 && cdCount<=50)
{
System.out.println("You have a 1% discount.");
cdCountAfterDiscount = (cdCount *3.5)-(3.5*.01);
System.out.println("The final price is " + df.format(cdCountAfterDiscount));
}
if(cdCount >= 51 && cdCount<120)
{
System.out.println("You have a 5% discount.");
cdCountAfterDiscount = (cdCount *3.5)-(3.5*.05);
System.out.println("The final price is " + df.format(cdCountAfterDiscount));
}
if(cdCount >= 120)
{
System.out.println("You have a 10% discount.");
cdCountAfterDiscount = (cdCount *3.5)-(3.5*.1);
System.out.println("The final price is " + df.format(cdCountAfterDiscount));
}
}
Which of the following statements best
describes a high level language?
A. The syntax is all 1's and O's.
B. The syntax is English-like.
C. All high level languages look the same.
D. High level languages are the most difficult to understand.
Answer
b
Explanation:
Read each description below, and then choose the correct term that matches the description from the drop-down menus.
wireless technology that lets you identify and track objects
medical uses of RFID
a low-power radio wave used for short distances
computing device used with Bluetooth Read each description below, and then choose the correct term that matches the description from the drop-down menus.
wireless technology that lets you identify and track objects
medical uses of RFID
a low-power radio wave used for short distances
computing device used with Bluetooth
Answer:
wireless technology that lets you identify and track objects (radio frequency identification)
medical uses of RFID (patient identification)
a low-power radio wave used for short distances (bluetooth)
computing device used with Bluetooth hands-free microphone in car
Explanation:
sorry if late :/
Answer:
Explanation:
edg 2021
Alan wants to buy camera support equipment that would provide mechanical support to his camera and which could also store extra battery power. Which piece of camera equipment should Alan buy for this purpose?
Alan can use a ____, which would provide mechanical assistance and store extra batteries for his camera.
Answer:
Could it be tripod?
Explanation:
If you did this question do you remember what the answer was?
Answer:
motorized grip
Explanation:
Which option in the Caption dialog box configures whether the caption appears above or below the image?
Label
New Label
Position
Numbering
Answer:
label
jhguy
iiy767
jiuuyuihlk
njhuiyyhjjgiug
gugkjbkjhg
Answer:
Position
Explanation:
What is an instance of a computer program that is being executed?
1. Processing
2. Storage
3. Input
4. App
Common lossless compressed audio file formats include
WMA and JIFF
WAV and AU
MP3 and MP4a
FLAC and ALAC
Answer:
The answer to this question is given below in the explanation section. The forth one (FLAC and ALAC) is the correct option.
Explanation:
Common lossless compressed audio file formats include
WMA and JIFF WAV and AU MP3 and MP4a FLAC and ALACLossless compression formats include the common FLAC, WavPack, Monkey's Audio, ALAC (Apple Lossless). Other options are not common lossless compressed audio formats.
Answer:d d
Explanation:
After modifying a numbered list in her presentation, Su notices the numbers and the text are too close to each other. She knows she can solve this issue by using the hanging indent marker. Unfortunately, the ruler is not visible in her PowerPoint workspace.
Which tab and command group should she use to access the ruler? (View, Show or Insert, Add-ins or Home, Paragraph)
After selecting the numbered list, in which direction should she drag the hanging indent marker to increase the space between the numbers and the text? (upward or downward or to the left or to the right)
Answer:
1. View, show
2. to the right
Explanation:
On edg
Answer:
1) View, Show
2) to the right
Explanation:
Which insert image option allows a user to compile, modify, and add captions to images?
Pictures
Screenshot
Photo Album
Online Pictures
Answer:
heres my answer and my proof
Explanation:
Photo Album is insert image option allows a user to compile, modify, and add captions to images. Hence, option C is correct.
What is a Photo Album?A piece of software called a digital picture album allows users to upload image files from a computer's hard drive, memory card, scanner, or digital camera to a central database.
A bound or loose-leaf book with blank pages, pockets, envelopes, etc. used for displaying or storing photographs, stamps, and other valuables, as well as for autographs. an audio compilation of various musical selections, a whole drama, an opera, etc.
The paper of your choosing is directly printed with the images for your picture book. In picture albums, photo prints are commonly adhered to the pages. Photo books are frequently lighter and thinner than conventional photo albums, taking up less room on the coffee table or shelf.
Thus, option C is correct.
For more information about Photo Album, click here:
https://brainly.com/question/20719259
#SPJ2
Use JavaWrite a program that will simulate a change machine found at cash registers. Input the amount due and amount paid from the keyboard.Tell the user how much change is owed and number of quarters, dimes, nickels, and pennies in change a customer would receive.Pay special attention to roundoff error. Your program should use division and modular division. No if’s or loops may be used. You may assume all change will be a positive number with no more than two decimal places. If more than $1.00 is owed, the full value should be included in the number of quarters returned. For example, $2.50 should be returned as 10 quarters.Hint: Modular division is a great way to find the remainder of a division. Think about how you can use this to calculate the change that is left over after some coins are given.Sample Run:Please Enter the Cost of the Item:4.57Please Enter the Amount Paid:5.00Change Owed: 0.43Quarters: 1Dimes: 1Nickels: 1Pennies: 3
Answer:
Here is the JAVA program:
import java.util.Scanner; //to accept input from user
public class Main { // class name
public static void main(String [] args) { // start of main method
Scanner input = new Scanner(System.in); // creates Scanner class object to take input from user
System.out.println("Please Enter the Cost of the Item: "); // prompts user to enter the cost of item
double itemCost = input.nextDouble(); //scans and reads the input value of item cost
System.out.println("Please Enter the Amount Paid: "); // prompts user to enter the amount paid
double amount = input.nextDouble(); //scans and reads the value of amount from user
int change = (int)(amount * 100 - itemCost * 100); //compute the remaining amount i.e. change
System.out.println("Change Owed: " + change / 100.0); // displays the owed change
int quarters = change / 25; // computes the value for quarters
change = change % 25; // compute the quarters remaining
int dimes = change / 10; // computes dimes
change = change % 10; // computes dimes remaining
int nickels = change / 5; // computes nickels
change = change % 5; // compute nickels remaining
int pennies = change; // computes pennies
System.out.println("Quarters: " + quarters); // displays computed value of quarters
System.out.println("Dimes: " + dimes); // displays value of dimes
System.out.println("Nickels: " + nickels); // displays value of nickels
System.out.println("Pennies: " + pennies); }} //displays value of pennies
Explanation:
I will explain the program with an examples.
Suppose the user enters 4.57 as cost of the item and 5.00 as amount paid. Then the program works as follows:
Change is computed as
change = (int)(amount * 100 - itemCost * 100);
This becomes;
change = (int)(5.00 * 100 - 4.57 * 100)
= 500 - 457
change = 43
Now the change owed is computed as:
change / 100.0 = 43/100.0 = 0.43
Hence change owed = 0.43
Next quarters are computed as:
quarters = change / 25;
This becomes:
quarters = 43/25
quarters = 1
Now the remaining is computed as:
change = change % 25;
This becomes:
change = 43 % 25;
change = 18
Next the dimes are computed from remaining value of change as:
dimes = change / 10;
dimes = 18 / 10
dimes = 1
Now the remaining is computed as:
change = change % 10;
This becomes:
change = 18 % 10
change = 8
Next the nickels are computed from remaining value of change as:
nickels = change / 5;
nickels = 8 / 5
nickels = 1
Now the remaining is computed as:
change = change % 5;
This becomes:
change = 8 % 5
change = 3
At last the pennies are computed as:
pennies = change;
pennies = 3
So the output of the entire program is:
Change Owed: 0.43 Quarters: 1 Dimes: 1 Nickels: 1 Pennies: 3
The screenshot of the output is attached.