Write a program to calculate the total final marks for a subject. There are four assessment types for the subject. Below are the percentages of the marks that will be taken into account for the Total Finall Marks (refer Table 1). Table 1 : Total Finall Marks Percentages Assessment Type Original Marks Percentage taken from original marks Finalll Eexam 100 50% Quiz 50 20% Lab 50 20% Assignment 20 10% Total Final Marks 100%
Q: What stage of development is the internet of things now at, and when and where did it originally…
A: Introduction: IoT stands for Internet of things is a network of connected computing devices,…
Q: What is a cohesiveness in the context of software development, and how is it distinct from a…
A: Cohesion and coupling: Cohesion and coupling both are important terms in software development. Both…
Q: Q1) Assume that you want to generate a table of multiples of any given number. Write a C++ program…
A: Below I have provided the given program in C++ language
Q: How did the term "spool" come to be associated with printer output, and why is it used to describe…
A: Spool is stands for simultaneous peripheral operations online.
Q: Look at the connection between network and computer security and viruses of all kinds. Is there a…
A: Introduction To maintain confidentiality, integrity, and availability in a system environment, a…
Q: Computers are the subject of computer science. What three conditions must a network satisfy in order…
A: The following are the three conditions that a network may satisfy in order to be effective and…
Q: Consider the importance of wireless networks in the modern growth of developing nations. Wireless…
A: What is a Wi-Fi or wireless organization versus a wired organization? A wireless organization…
Q: Give a thorough description of the system failures brought on by computer security flaws.
A: Given Give specific examples of how computer security flaws lead to system breakdowns.
Q: What was the problem with the synthesis example comparing a command language interface with a visual…
A: Answer:-
Q: Perform the following subtractions: a) 5116 –4016 b) FD16 –8816
A: Given numbers are Hexadecimal numbers because in the end 16 is present for all numbers. That means…
Q: What distinguishes input and output streams from one another? What effects does using the fstream.h…
A: When writing data to a destination, the Output Stream is used. whereas the Input Stream is used to…
Q: which one is a better choice?
A: By the usage of popular precast devices of Y-junction department pipelines, it's far past doubt that…
Q: The disparity between analytical and transactional methods to data management is stark.
A: The goal of data management is to gather, store, and use data in a secure, effective, and economical…
Q: Using python, consider the following function: f(x)= sin (4(x-1/4)) for x€[0,2]. 1. Plot the…
A: Given Function :- f(x)= sin (4(x−1/4)) for x∈[0,2] The expression in Sin() function can be…
Q: How can you incorporate Internet technology into a business process? It would be nice to have an…
A: Internet Technologies is a technological discipline that encompasses the necessary abilities to…
Q: a. The main part of the program will call a user-defined function. b. Inside the function do the…
A: Below I have provided solution in python programming
Q: It's okay to use the word "win" in a sentence, right? Is it punctually and grammatically correct?…
A: A nuclear war can only be won by preventing its onset. 2 Winners never cheat, and cheaters never…
Q: What are some well-known instances when P2P was used effectively and appropriately?
A: Some well-known instances of P2P being used properly and appropriately are explained below:…
Q: Talk about some of the suggestions you would provide multinational corporations looking to build…
A: Introduction How to Design for a Global Audience You could believe that designing a website for…
Q: Internet
A: There are a few reasons for this. One is that the Internet is often thought of as being "in the…
Q: are cohesion and coupling in software related?
A: Solution - In the given question, we have to tell the relation between cohesion and coupling in…
Q: Answer in C++ only In Banasthali, we feel like a family. Every festival is celebrated with great…
A: Coded using C++ language. Input: 132 2 3 Output: 3
Q: Given a code snippet in C++, write the equivalent codes in MIPS. Note: You may use any register that…
A: Below I have provided C++ program
Q: Which is a correct implementation of the constructor with parameters in the Savings Account class?…
A:
Q: Do you think that the actual creation of the program is the most important step?
A: Methodology for Software Development: To improve the design, the software development process…
Q: To better understand the concept of abstraction, let's look at some instances from the field of…
A: The above question is solved in step 2 :-
Q: How should diverse points of view be taken into account when developing models of software systems?
A: Definition:The question inquires as to what factors should be considered while developing software…
Q: Three requirements must be met by a network in order for it to function correctly and efficiently…
A: The three characteristics that is a network must have been in order to be effective and efficient…
Q: Q3. Write a python code to do the following operations. 1. Create a stress tensor and a strain…
A: Below I have provided the answer based on the Python Programming. Refer the comments for better…
Q: Consider the usefulness of wireless networks in currently emerging nations. Wireless technologies…
A: Wireless communications provide billions of people access to the Internet and the digital economy.…
Q: The UNIX operating system's interprocess communication mechanisms may be discussed in great length.
A: The solution to the given question is: Inter-Process Communication (IPC) used for communication…
Q: In typical client-server systems the server machine is much more pow- erful than the clients; that…
A:
Q: What year and location saw the emergence of the Internet of Things?
A: The answer to the question above can be found below: In reality, the Internet of Things (IoT) is a…
Q: Consider the importance of wireless networks in the modern growth of developing nations. Wireless…
A: The solution is accurate as per my best of knowledge. Please do like if this solution will help…
Q: The role of the Internet of Things in the construction of smart homes. Give some instances.
A: Iot powered the smart devices that are used in home automation across the globe. These devices make…
Q: Discuss the scheduling of processes and threads and draw comparisons and contrasts between the two…
A: An active programme is what a process is. The programme counter, process stack, registers, programme…
Q: Why is answered by installing the transport layer in the final system
A: Interdiction: The application, presentation, session, and transport layers are all made real in the…
Q: Please elaborate on what you mean by "software and hardware ecosystem." What do they want to convey?
A: Introduction Examples of hardware include the motherboard, graphics card, sound card, speakers,…
Q: What distinguishes the continue and break statements from one another?
A: The primary difference between a break and continue statement in a C program is that a break…
Q: ere is a comparison of offline and or
A: Introduction: Any piece of software that is accessible through a network using the HTTP protocol as…
Q: Find out all that you can about natural language interfaces. Are there any successful systems? For…
A: In this question we need to define natural language interface and its applications.
Q: How can you incorporate Internet technology into a business process? It would be nice to have an…
A: The answer for the above mentioned question is given in the below steps for your reference.
Q: What three things are taken into consideration while evaluating hardware?
A: While picking hardware, there are many elements to consider. Clearly, the cost and the power is…
Q: What is the most effective means of inter-process communication under UNIX?
A: In this question we need to provide the most effective means of inter-process communication in UNIX.
Q: If at all possible, could you provide us a more detailed breakdown of the ways in which metrics are…
A: Software development Process: A software development process in a software engineering is a method…
Q: Convert each pair of decimal numbers to binary and add using the 2’s complement form: a) 43 and -15…
A: Convert each pair of decimal numbers to binary and add using the 2’s complement form: a) 43 and -15…
Q: The internet, as defined by Wikipedia, "is a computer network that connects billions of computing…
A: Introduction: People and organisations may utilise email and World Wide Web services by connecting…
Q: We feel like family at Banasthali. Every festival is celebrated with great fervor and enthusiasm; so…
A: The first line is the number of test cases and we need to iterate our code for those many times The…
Q: Explain the procedures a software engineer would follow to collect and evaluate the specifications…
A: Answer: The creation of the requirements phase of the software development process is Software…
Q: Consider the significance that wireless networks still have in today's poor countries. In recent…
A: In order to create a local area network (LAN) in a constrained space, such as a house, school,…
Write a program to calculate the total final marks for a subject. There are four assessment types for the subject. Below are the percentages of the marks that will be taken into account for the Total Finall Marks (refer Table 1).
Table 1 : Total Finall Marks Percentages
Assessment Type |
Original Marks |
Percentage taken from original marks |
Finalll Eexam |
100 |
50% |
Quiz |
50 |
20% |
Lab |
50 |
20% |
Assignment |
20 |
10% |
Total Final Marks |
100% |
Step by step
Solved in 4 steps with 3 images
- In this exercise you will write a program for printing out grade statistics for a university course. The program asks the user for results from different students on the course. These include exam points and numbers of exercises completed. The program then prints out statistics based on the results. Exam points are integers between 0 and 20. The number of exercises completed is an integer between 0 and 100. The program kees asking for input until the user types in an empty line. You may assume all lines contain valid input, which means that there are two integers on each line, or the line is empty. And example of how the data is typed in: Exam points and exercises completed: 15 87 Exam points and exercises completed: 10 55 Exam points and exercises completed: 11 40 Exam points and exercises completed: 4 17 Exam points and exercises completed: Statistics: Sample outputuse visual basic Depreciation to a Salvage Value of 0 . For tax purposes an item may be depreciated over a period of several years, n . With the straight-line method of depreciation , each year the item dpreciates by 1/nth of it original value. with the double-declining-balance method of depreciation, each year the item depreciate by 2/nths of its value at the beginning of that year.(In the final year it is depreciated by its value at the beginning of the year. ) Write a program that performs the following tasks:(a) Request a description of the item, the year of purchase, the cost of the item, the number of years to be depreciated (estimated life), and the method of depreciation. The method of depreciation should be chosen by clicking on one of two buttons.(b) Display a year- by-year description of the depreciation. See Fig. 6.15 .Assignment Write a program that moves a forester unit and a desert corps unit to a given target location and prints the number of hours it took for each unit to reach the target. First, the user will give the starting X and Y positions of the forester unit as well as its base speed (all ints). Then, the starting X and Y positions of the desert corps unit as well as its base speed (all ints). Finally, the target X and Y positions (both ints) and the terrain type (std::string). Speeds are given as distance traveled in one full day (i.e., 24 hours) and is affected by the terrain type using a multiplier over the base speed. Also, after 1 full day, each unit rests for a certain number of hours. Speed multiplier and rest amount of each type of unit depending on the terrain type are as below. Speed Multiplier Rest Duration After 1 day Terrain type Forester Desert Corps Forester Desert Corps Forest 1.3 0.6 4 12 Desert 0.4 1.2 15 6 Hills 0.7 0.8 6 8 Others 1.0 0.8 8 6 After getting all this…
- When you borrow money to buy a house, a car, or for some other purpose, you repay the loan by making periodic payments over a certain period of time. Of course, the lending company will charge interest on the loan. Every periodic payment consists of the interest on the loan and the payment toward the principal amount. To be specific, suppose that you borrow $1,000 at an interest rate of 7.2% per year and the payments are monthly. Suppose that your monthly payment is $25. Now, the interest is 7.2% per year and the payments are monthly, so the interest rate per month is 7.2/12 = 0.6%. The first months interest on $1,000 is 1000 0.006 = 6. Because the payment is $25 and the interest for the first month is $6, the payment toward the principal amount is 25 6 = 19. This means after making the first payment, the loan amount is 1,000 19 = 981. For the second payment, the interest is calculated on $981. So the interest for the second month is 981 0.006 = 5.886, that is, approximately $5.89. This implies that the payment toward the principal is 25 5.89 = 19.11 and the remaining balance after the second payment is 981 19.11 = 961.89. This process is repeated until the loan is paid. Write a program that accepts as input the loan amount, the interest rate per year, and the monthly payment. (Enter the interest rate as a percentage. For example, if the interest rate is 7.2% per year, then enter 7.2.) The program then outputs the number of months it would take to repay the loan. (Note that if the monthly payment is less than the first months interest, then after each payment, the loan amount will increase. In this case, the program must warn the borrower that the monthly payment is too low, and with this monthly payment, the loan amount could not be repaid.)On one day a year a programming club at AOU hosts a tournament. Each entrant is recorded in the appropriate tournament category on arrival and is registered a corresponding level. Participants in level one will be entered in the basic training and competition; participant in level two and three will be entered in the intermediate training and competition; those in level 4 will be entered in the junior competition. ⦁ You are required to write an algorithm which is required to decide the appropriate category for the entrant; Display the entrant’s in a list for that category and output the corresponding level. Hint[The tutor will keep registering the students until he pressed -1 to stop and exit from the loop ] ⦁ Build your algorithm by OUbuild and provide screenshots for the outputIN C PROGRAMMING LANGUAGE A resistor is a circuit device designed to have a specific resistance value between its ends. Resistance values are expressed in ohms (Ω) or kilo-ohms (kΩ). Resistors are frequently marked with colored bands that encode their resistance values, as shown in the Figure. The first two bands are digits, and the third is a power-of-ten multiplier. The Table below shows the meanings of each band color. For example, if the first band is green, the second is black, and the third is orange, the resistor has a value of 50 × 103 Ω or 50 k Ω. The information in the Table can be stored in a C program as an array of strings. char COLOR_CODES[10][7] = {"black", "brown", "red", "orange", "yellow", "green", "blue", "violet", "gray", "white"}; Notice that “red” is COLOR_CODES[2] and has a digit value of 2 and a multiplier value of 102. In general, COLOR_CODES[n] has digit value n and multiplier value 10n. Write a program that prompts for the colors…
- Scenario As you surely know, due to some astronomical reasons, years may be leap or common. The former are 366 days long, while the latter are 365 days long. Since the introduction of the Gregorian calendar (in 1582), the following rule is used to determine the kind of year: if the year number isn't divisible by four, it's a common year, otherwise, if the year number isn't divisible by 100, it's a leap year. otherwise, if the year number isn't divisible by 400, it's a common year. otherwise, it's a leap year. none of the above year int(input("enter the year")) if (year%4 1-0) and (year%400 -0) or (year % 1000): print (year is common year") else: print(year, is leap year") year= int(input ("enter the year")) if (years !-0) or (year480 1-0) and (year % 1001-0): print(year is common year") else: print(year, "is leap year") D year= int(input("enter the year"))Once the lower level functions are written and tested, they are ready to be combined to produce the game. The game loop is where the game is played. A point is awarded to the winner of each round and then added to the total for that contestant (computer or player). If the round is a draw, no points are awarded. The player determines how many rounds are to be played by entering the choice of 1, 2, or 3 (1 for Rock, 2 for Paper, 3 for Scissors) or by entering a 0 to end the contest. Once the contest is over, the winner is displayed. Most of the work has already been completed in the lower level tasks. The main program initializes the final scores, starts the game loop where the matches are played, updating the scores appropriately, and then displays the winner. Here is a pseudocode algorithm showing how to set up the game loop: Write ("Rock, Paper, Scissors Tournament") computerTotal = 0 playerTotal = 0 playerChoice = playerSelection() while (playerChoice != 0) computerChoice =…Jeff and Gern run a furniture company specializing in tables and chairs. To save time, when a new order comes in, a special shorthand is used to describe the order. The rules for their shorthand are as follows • The first character is "T" for a set of tables, or "C" for a set of chairs. If the order includes both tables and chairs, the order shorthand begins with "TC" • Next they indicate the number of tables or chairs for the order. If the order includes both tables and chairs, they'll write the number of table first, then the number of chairs, separated by a dash. An order comes in for three standard tables constructed using Oakwood. What would the order shorthand be for this order?
- Air Pacific Limited, Fiji's international airline, operates international and domestic services around the Pacific and to North America and Hong Kong. It has its head office at the Air Pacific Maintenance & Administration Centre in Nadi. You are required to write a program that passengers can use to chose seats for aircraft FJ501. The aircraft has 13 rows with 5 seats in each row. Rows 1 to 4 are first class, the remaining rows are economy class. The program should display the seating plan for the aircraft. Empty seats are shown with x and the seats that are booked will have the passenger name (first name plus initials of other names) on it. To reserve a seat, they have to provide their ticket type (First Class or Economy Class), the seat they prefer and their name (first name plus initials of other names). The program verifies that the seat is empty then only bookings are done. Passengers are also allowed to check the seats they are booked for by providing the passenger name (first…In the ChiliToGo program in Exercise 12, the costs to produce an adult meal and a child’s meal are $4.35 and $3.10, respectively. Adult meals are sold for $7.00 and children's meals are sold for $4.00. Modify the ChiliToGo program to display the total profit for each type of meal as well as the grand total profit. An example of the program is shown below: Enter number of adult meals ordered >> 10 Enter number of child meals ordered >> 5 10 adult meals were ordered at 7.0 each. Total is 70.0 5 child meals were ordered at 4.0 each. Total is 20.0 Grand total for all meals is 90.0 Profits: Adult profit is 26.5 Child profit is 4.5 Total profit is 31.0TASK 2 (OF 2) The day of the week for a given date can be determined using the following expression: w = (k+ 126 m - 0.2) – 2-c +Y+ H+ ) mod 7 where: kis the day of the month m is the month (March = 1, April = 2,., December = 10, January = 11, February = 12) Cis the century (i.e the hundreds and thousands place in the year; 1982 → 19) Y is the year in the current century (i.e. the tens and ones place in the year; 1982 → 82) W is the day of the week (Sunday = 0, Monday = 1,.Saturday = 6) Additionally, the | J brackets in the equation mean that the value inside should be rounded down to the nearest whole number. Please code in Excel VBA • Create a function called Year2Century that takes the year as an input and returns the century. • Create a function called Year2Year that takes the year as an input and returms the year in the current century. • Create a function called Month2Val that takes the current month as a string and returns the corresponding month value as defined above. • Create…