The requirements for the Programming Quiz are to have a personal experience which elaborate and demonstrate understanding of programming concepts.
For each of 10 or more questions (steps) write a short paragraph of your own experience/ engagement in addition to the snapshots by ctrl +prnt scrn and paste it (ctrl + v) or for Mac users command+shift+4 to screenshot and drag/drop to a word document for submission. Each question is worth 10 points
1) You need a language compiler to write a program for example C++ compiler. What is a language compiler and how would you download it? Answer the question and paste your snapshot(s) as evidence. (+10 points)
2) How would you activate (start) the compiler, make a new file and write the simplest possible program (maximum 8 lines of code) which displays only your payroll’s company name- which includes your name. Make sure your program is not completely correct. Answer the question and paste your snapshot(s) as evidence +10 points
3) How would you compile your simplest payroll program? Answer the question and paste your snapshot(s) as evidence +10 points.
4) How would you fix the syntax errors and add the necessary steps so that there would not be any syntax errors.
At the end of trial and error, your program should include the followings that makes the basic block of any C++ program:
#include
using namespace std;
main(){
cout<<” ..”<<endl;
system (“pause”);
return 0;}
Answer the question and paste your snapshot(s) as evidence +10 points.
5) How would you run the program and view the display-output (after the successful compilation).
6) What is the C++ statement responsible for the output display and add the new display statement to the existing program requesting “ENTER EMPLOYEE ID”. Compile and run your program.
7) What is the statement that accepts (grabs) the input from the user ( input entry)? Add the variable names (hw, hr ) and declare it appropriately (int and float). Compile and run.
Add other cout and cin to your program. Compile and run and get +10 points
8) Add the operation to compute the grosspay and display all the previous information (data) and the grosspay.
Make sure to declare a variable name for the grosspay with appropriate data type. Compile and run.
9) Loop the existing program for as many durations as possible for example infinite loop (forever)
10) How do you add a decision to your program to compute the taxrate?
11) How do you create a data file instead of typing it interactively?
12) How would crash your program
13) How would you make a logical error
14) Show me the 10 keywords of C++
15) How would run your program with whatever data you have
16) Extend your program to solve more problems such as adding overtime or fix your tax rate in better way.
17) How to make a Search program for the payroll which becomes for anything else (search engine building block)
18) What are the programming mysteries?
19) Change the program to do something else by simply changing the names and the operations (magical part).
20) What is virus and how your program becomes a virus and how to identify a virus?
21) How a program is used for hacking and how to identify a hacking program?
22) How would you make a smart App with what you just learned and with your own innovations?
Last Completed Projects
topic title | academic level | Writer | delivered |
---|