Answer:
copyright
Explanation:
Copyright protects intellectual property. If you own a copyright, you own the legal rights to said property.
Answer:copyright
Explanation:
Develop a C program that calculates the final score and the average score for a student from his/her (1)class participation, (2) test, (3) assignment, (4) exam, and (5) practice scores. The program should use variables, cout, cin, getline(), type casting, and output manipulators. The user should enter the name of the student and scores ranging from 0 to 100 (integer) for each grading item. The final score is the sum of all grading items. The average score is the average of all grading items.
Answer:
#include <iomanip>
#include<iostream>
using namespace std;
int main(){
char name[100];
float classp, test, assgn, exam, prctscore,ave;
cout<<"Student Name: ";
cin.getline(name,100);
cout<<"Class Participation: "; cin>>classp;
while(classp <0 || classp > 100){ cout<<"Class Participation: "; cin>>classp; }
cout<<"Test: "; cin>>test;
while(test <0 || test > 100){ cout<<"Test: "; cin>>test; }
cout<<"Assignment: "; cin>>assgn;
while(assgn <0 || assgn > 100){ cout<<"Assignment: "; cin>>assgn; }
cout<<"Examination: "; cin>>exam;
while(exam <0 || exam > 100){ cout<<"Examination: "; cin>>exam; }
cout<<"Practice Score: "; cin>>prctscore;
while(prctscore <0 || prctscore > 100){ cout<<"Practice Score: "; cin>>prctscore; }
ave = (int)(classp + test + assgn + exam + prctscore)/5;
cout <<setprecision(1)<<fixed<<"The average score is "<<ave;
return 0;}
Explanation:
The required parameters such as cin, cout, etc. implies that the program is to be written in C++ (not C).
So, I answered the program using C++.
Line by line explanation is as follows;
This declares name as character of maximum size of 100 characters
char name[100];
This declares the grading items as float
float classp, test, assgn, exam, prctscore,ave;
This prompts the user for student name
cout<<"Student Name: ";
This gets the student name using getline
cin.getline(name,100);
This prompts the user for class participation. The corresponding while loop ensures that the score s between 0 and 100 (inclusive)
cout<<"Class Participation: "; cin>>classp;
while(classp <0 || classp > 100){ cout<<"Class Participation: "; cin>>classp; }
This prompts the user for test. The corresponding while loop ensures that the score s between 0 and 100 (inclusive)
cout<<"Test: "; cin>>test;
while(test <0 || test > 100){ cout<<"Test: "; cin>>test; }
This prompts the user for assignment. The corresponding while loop ensures that the score s between 0 and 100 (inclusive)
cout<<"Assignment: "; cin>>assgn;
while(assgn <0 || assgn > 100){ cout<<"Assignment: "; cin>>assgn; }
This prompts the user for examination. The corresponding while loop ensures that the score s between 0 and 100 (inclusive)
cout<<"Examination: "; cin>>exam;
while(exam <0 || exam > 100){ cout<<"Examination: "; cin>>exam; }
This prompts the user for practice score. The corresponding while loop ensures that the score s between 0 and 100 (inclusive)
cout<<"Practice Score: "; cin>>prctscore;
while(prctscore <0 || prctscore > 100){ cout<<"Practice Score: "; cin>>prctscore; }
This calculates the average of the grading items
ave = (int)(classp + test + assgn + exam + prctscore)/5;
This prints the calculated average
cout <<setprecision(1)<<fixed<<"The average score is "<<ave;
What are the short comings of the Napier bones?
Answer:
Disadvantages of Napier's bone: It became tedious when the multiplication has to be done with big numbers. It was a much elaborate setup. It was made up of 200 rods placed in a special box.
what is the command used to retrieve the java files along with the string existence "Hello world" in it
Answer:
java” xargs grep -i "Hello World”
Use the drop-down menus to complete each of the following sentences correctly.
To include someone on an e-mail without others knowing, use the
feature.
Use the
feature to send a file.
Use the
feature to send someone else an e-mail you received.
To allow the main recipient of an e-mail to see who is being included in the message, use the
feature.
is a feature that can be used to respond to someone’s e-mail.
Answer:
Blind carbon copy (abbreviated Bcc)
Click on the menu item with a paperclip icon that says "Attach a file" or something similar (e.g., "Attach Files")
Click Reply and then select Forward
CC
reply
how is what happened to fred hampton similar to what is going on in the news today
Hampton was shot and killed in his bed during a predawn raid at his Chicago apartment by a tactical unit of the Cook County State's Attorney's Office in conjunction with the Chicago Police Department and the FBI; during the raid, Panther Mark Clark was also killed and several others were seriously .
Explain how data is represent in the computer system
Explanation:
Computers use binary - the digits 0 and 1 - to store data. A binary digit, or bit, is the smallest unit of data in computing. It is represented by a 0 or a 1. Binary numbers are made up of binary digits (bits), eg the binary number 1001.Which of the following is a potential concern with having an online profile (1 point)
on your instant messaging service that contains personal information like
your address or favorite hobbies?
A.Your friends may not agree with what you write there.
B.You might misrepresent yourself.
C.You might become a target of users who wish to make inappropriate contact with you.
D.Your personal information might change.
Answer:
C. You may become a target of users who wish to make inappropriate contact with you.
Explanation:
dy
If x2 - y2 = 1, then
dx
1
(a) yx-1
(C) xy-1
(b) -xy-
(d) - yx
Answer:
xy-1
Explanation:
Given expression is :
[tex]x^2-y^2=1[/tex] ..(1)
We need to find the value of [tex]\dfrac{dy}{dx}[/tex].
Differentiating equation (1) wrt x.
[tex]\dfrac{d}{dx}(x^2-y^2)=1\\\\2x-2y\times \dfrac{dy}{dx}=0\\\\2y\times \dfrac{dy}{dx}=2x\\\\y\times \dfrac{dy}{dx}=x\\\\\dfrac{dy}{dx}=\dfrac{x}{y}[/tex]
or
[tex]\dfrac{dy}{dx}=xy^{-1}[/tex]
Hence, the correct option is (c) "xy-1".
Which visual aid best matches each description given?
population clusters within a particular country
✔ map
a cross-section of a cell membrane
✔ line drawing
the changes in cell-phone usage from 2000 to the present
✔ graph
an outline of the order of topics given in the speech
✔ handout
The options given above are all correct about the visual aid that best matches each description given.
What are Visual aids?These are known to be any kind of thing or an instrument that is often used to portray an item or one that helps people to know something or to remember something.
Conclusively, population clusters within a particular country can be depicted on a map as well as the other options are also correct.
Learn more about visual aid from
https://brainly.com/question/3610367
true or false with reason :- profit and loss account is a real account
Answer:
False
Explanation:
Account of expenses, losses, gains, and incomes is called the Nominal account. Profit and Loss Account contains all indirect expenses and indirect incomes of the firm. Therefore, Profit and Loss Account is a Nominal Account and not a real account.
:)
You are given a 5-letter word (for example, abcde). Write a C-Program which outputs all possible unique 5 letter permutations of this word in a text file. There should be no repetition of letters in permutation (i.e. in our example, bacde is a valid permutation but bbcde is invalid. Use of library functions for generation of permutations is NOT allowed.
The text file containing the output should be named as q3out.txt. Each word of the output must be on a separate line in the text file. The 5-letter input word should be read by your program from the console. Provide comments in your code. Submit your C code, and the q3out.txt file for the following inputs:
(a) parba
(b) arbca
Answer:
See attachment 1 for code
See attachment 2 for the output of permuting letters of parba
See attachment 3 for the output of permuting letters of arbca
Explanation:
The program was implemented in C
The program uses a recursive function letterpermutation and a swap function to successfully implement the requirement of this question.
The letterpermutation function is defined here
void letterpermutation(char *mystring, int index1, int index2) {
This lets the program writes to a file
FILE *fptr;
This opens the file in an appending mode
fptr = fopen("q3out.txt","a");
int i;
This checks for unique strings.
if (index1 == index2) {
If found, this appends the string to the text file
fprintf(fptr,"%s\n",mystring); }
If otherwise
else{
This iterates through the string
for (i = index1; i <= index2; i++) {
The swap function is called to swap the characters of the string
swap((mystring+index1), (mystring+i));
This calls the function, recursively
letterpermutation(mystring, index1+1, index2);
This further swaps the characters of the string
swap((mystring+index1), (mystring+i));
} } }
The swap function begins here and what it literally does is that it swaps characters of the input string to create a new string
void swap(char *ch1, char *ch2) {
char temp;
temp = *ch1; *ch1 = *ch2; *ch2 = temp; }
The main function begins here
int main() {
This declares and initializes the string
char mystring[] = "ABCd"; // The string here can be changed
This calls the function to permute the string
letterpermutation(mystring, 0, strlen(mystring)-1);
return 0; }
state and explain application areas where computer are applied
Answer:
There are at least five areas that are covered by computer applications, and five of those are business, government, military, manufacturing, and music. There are also other areas such as scientific and the role of technology in our society is growing annually.
Computers have now for several decades brought automation to the table in small, medium, and large businesses. There are word processing and spreadsheet applications for small businesses all the way up to enterprise-wide applications that cover every aspect of a large business such as accounting, inventory, shop floor, management, and feature real-time reporting capability that can give a snapshot glimpse of the financial position of a company at any point in time.
The government has a wide variety of computer applications. Government uses many of the same tools as small to large businesses in desktop type applications and many that are much more advanced that are used in the military. Manufacturing applications involve computer-aided design and applications that are used to track production from the time a raw material is moved into the warehouse all the way to the production floor and back into the warehouse as a finished good.
Military only applications include systems that use GPS in missiles to hone in on targets from miles away. There are all kinds of other applications some of which are secret in nature and the public does not become aware of these until a war is underway. Computer applications in music can help to transcribe and compose music as well as provide accompaniment for a musician to practice with.
Expect the number of computer applications in all of these fields to become more common in the future. Expect many applications to take the place of people to save money in a cash-crunched economy where everyone is looking for more ways to save money and cut costs.
Explanation: