Write a pseudo code for a program that will implement the following decision table in Table 2. The program will print the input grade point and the class of degree based on a user input. The program will terminate the loop when a user input a sentinel value other than ‘y' or ‘Y'. GRADE POINT 0.0-0.99 1.0-2.00 2.1-2.7 2.71-3.69 3.7-4.00 Table 2 Class of Degree Failed General degree Second class lower Second class upper First Class
Q: Investigate the ways in which people try to remedy the troubles you've seen them experiencing with…
A: Introduction: Situations when users respond to software issues: People get frustrated when software…
Q: Consider the following scenario: A school wants to automate their attendance taking. Attendance will…
A: We have a different solutions of the scenario those are And we provide two different Reasons.
Q: Cybersecurity professionals focus on preventing attacks such as those perpetrated in the text.…
A: Answer: We need to write some point regarding the Cyber Security
Q: Write an assembly program in masm32 to input 2 integers m and n from the keyboard (m<n), sum the odd…
A: A low level programming language in computer programming is assembly language. It has a strong…
Q: Question: Write a program in C++ language to print on the screen of computer the counter from 1.7 to…
A: C++ programming is the language of the object oriented programming languages. C++ is the structural…
Q: Rare Collection. We can make arrays of custom objects just like we’ve done with ints and strings.…
A: Java:- Advantages- It is easy to write compile debug and run java programs It is portable or…
Q: 7. Find a closed form representation for the function defined recursively by f(1) = 10 and…
A: The recursive function is the function in the code which refers itself to the execution. Recursive…
Q: Write a C++ program that defines and tests a function power(base, exponent) that takes two integers…
A: Write a C++ program that defines and tests a function power(base, exponent) that takes two integers…
Q: Complete the logical proof for the following argument. P→ (q^r) q קר . Step 1 2 3 4 5 Proposition…
A: Given that the logical proof for the argu hament is p→q∧r¬q¬p
Q: Show all the steps of derivation of the expression aab* a* (b + ab01), by using the production rules…
A: CFG- context free grammar, it is to generate possible string pattern in formal language. where G is…
Q: Question 3 The StarHub IT Solution Sdn. Bhd. is in the planning to explore new product and services…
A:
Q: Consider an unsorted array of n elements. Recall that the Heapsort Algorithm consists of two parts:…
A:
Q: What are the advantages of providing static and dynamic views of the software process as in the…
A: Rational unified process is an agile-based software development model where we create high-quality…
Q: Discuss functional overview of Linux
A: Please find the answer below :
Q: Based on the Model of Affective Interaction in Figure 2, describe the properties that affect users'…
A: Answer - Human interact with computers via IoT devices, websites, and applications. While…
Q: Write the Fibonacci Function program with: Recursive and iterative method respectively using the…
A:
Q: Q2. For the purpose of merge sorting, separate T[1..n] into three arrays of sizes as equal as…
A: A typical merge sort algorithm divides an array in half continuously until it can no longer be…
Q: Write a program that prompts the user to input the three coefficients a, b, and c of a quadratic…
A: Sample Response: #Python program to find the roots of quadratic equationimport math# function to…
Q: Modify your program from week 5 so that the program utilizes object-oriented programming to create…
A: Answer: Here not mention any programming language so we have code in python
Q: Problem: Derive the logic expressions for a circuit that compares two unsigned numbers: X = X2X₁ Xo…
A: Given that X = x2x1x0 and Y = y2y1y0 To compare two unsigned numbers, we need to compare…
Q: Write program in c++ language to implement-logic-gates (AND-OR). Without using (if condition).…
A: GIVEN: Write a C++ program to implement the logic-gates operation of the AND and OR gate. Do this…
Q: What is the value of num3 after the following code is executed: int num1 = 5; int num2 = num1 * 3;…
A: We need to find the output of the given code.
Q: Trainers at Tom's Athletic Club are encouraged to enroll new members. Write an application that…
A: As Language is not provided , doing it in Java Programming Language.
Q: What is output? class Student { public: Student() { cout << "This is constructor" << endl;…
A: a special member function is responsible for initializing the class's objects in C++ the…
Q: Problem: Derive the logic expressions for a circuit that compares two unsigned numbers: X = X2X1X0…
A: Digital comparators are the important in the combinational logic circuits that are used to compare…
Q: casting to int in java
A: Use Integer.parseInt() to convert a string to an integer.
Q: write a python function that finds the average of that column. The lists will contain None values…
A: * Python Code * # function to find mean of lists def find_mean(datalist): mean_list = [] # empty…
Q: what occurs when individuals engage in illicit activities online and how such activities are carried…
A: Encryption: Networks and computers are used in cybercrime. It's possible that a crime was carried…
Q: Q4// writ C++ program to find the sum of first n natural numbers.
A: Natural numbers starts from 1 You can simply find this using formula or using loops or recusrion…
Q: What does a TRC query mean? More precisely, what is the set of answer tuples for a given TRC query?…
A: Introduction: Below describe the a TRC query mean More precisely, what is the set of answer tuples…
Q: The Darby Company manufactures and distributes meters used to measure electric power consumption.…
A: Managerial Report 1. Distribution plan and costs are as follows Total cost = $ 620,770 2. In…
Q: Q4// writ C++ program to find the sum of first n natural numbers.
A: Sum of first n natural numbers is given by n(n+1)/2
Q: The proliferation of computer technology, information technology, information networks, and the…
A: Given: Technology's biggest ethical challenges Abuse of PII, inaccurate information, complex hoaxes…
Q: It would be helpful to describe the procedures required in project management using an example, but…
A: Given: In project management, a process is an activity that has a specified place in the project's…
Q: When the program is run, a file whose full path will be given in the code should be read and the…
A: Program: #include <iostream>#include <fstream>#include <string>using namespace…
Q: A conversation smartphones on the use of mobile devices in the workplace, such as and tablets, is…
A: Here are some instances of how a business might use a tablet or smartphone: Anywhere Information is…
Q: 5. Find a closed form representation for the function defined recursively by f(0) = 5 and…
A:
Q: How does EnCase verify the contents of an evidence file, using the default settings? EnCase…
A: EnCase is used to find some evidence from the damaged (seized) hard drive by creating an evidence…
Q: What exactly is meant by the term "Regular Expression"? Why did we do it? What are the key…
A: Introduction: The Greek word "automata," which means "self-acting," is where the word "automata"…
Q: 1] I need an operand and description of these JC, JNC, JZ, JNZ, JP conditions.
A: Given conditions are JC, JNC, JZ, JNZ, JP All these are the Mnemonics for the instruction sets and…
Q: Given the following grammar in BNF:-=→X | Y | Z % -?-()|a) Change the grammer rules so that! and…
A: ANSWER:
Q: Do you think that the government and law enforcement agencies should be able to see user accounts on…
A: Government are trying hard to bring in law for them to snoop on citizens from their social media…
Q: Q.1.4 Which of the following is not a floating-point data types in Java? Float; b. String; C.…
A: Introduction: AS PER OUR POLICY “Since you have posted a question with multiple sub-parts, we will…
Q: Problem: How many levels of 4-2 reducers are needed to reduce k summands to 2 in a reduction tree?…
A: Introduction: A reduction tree is utilized to lessen the size of a tree by diminishing the length of…
Q: . Do the following without using a cal- culator or a computer, but check your answers with a…
A: Do the following without using a calculator or a computer but check your answers with a calculator…
Q: Discuss functional overview of Linux
A:
Q: Function or method overloading is: (select all that apply) A form of static polymorphism
A: Method overloading is a type of polymorphism in OOP. Polymorphism permits items or strategies to act…
Q: In EnCase, Gray blocks with a raised bump in the center to the sector or cluster represent which of…
A: The common technology used by Guidance Software's collection of digital forensics solutions is…
Q: What are some examples of the many categories of issues that simulation models might be used to…
A: There are many simulation models available. Let fist understand what is Simulation Model. Simulation…
Q: MCQ3118: As frequency increases in data transmission on physical layer, the period a. b. decreases…
A: This question comes from data transmission on physical layer.
Just answer it directly wihtout explaing.
Thank You.
Step by step
Solved in 2 steps
- Computer Science Part C: Interactive Driver Program Write an interactive driver program that creates a Course object (you can decide the name and roster/waitlist sizes). Then, use a loop to interactively allow the user to add students, drop students, or view the course. Display the result (success/failure) of each add/drop.See the sample outputs for more clarification. Project Specifications Input for this project: Values of the grid (row by row) Output for this project: Whether or not the grid is magic square Programmer's full name Project number Project due date Processing Requirements Use the following template to start your project: #include using namespace std; // Global constants // The number of rows in the array // The number of columns in the array // The value of the smallest number // The value of the largest number const int ROWS = 3; const int COLS = 3; const int MIN = 1; const int MAX = 9; // Function prototypes bool isMagicsquare(int arrayRow1[], int arrayRow2 [], int arrayRow3[], int size); bool checkRange (int arrayRow1[], int arrayRow2[], int arrayRow3[], int size, int min, int max); bool checkUnique(int arrayRow1[], int arrayRow2[], int arrayRow3[], int size); bool checkRowSum (int arrayrow1[], int arrayrow2[], int arrayrow3[], int size); bool checkColiSum(int arrayrow1[], int…Extreme Fizz BuzzFizz Buzz is a classic Computer Science problem about Selection. For an integer x, print:• “Fizz” if x is only divisible by 3,• “Buzz” if x is only divisible by 5,• “FizzBuzz” if x is divisible by both 3 and 5,• the number x if it is not divisible by both 3 and 5.This problem is the extreme version of Fizz Buzz. You are given a list of K distinct integers A and a list of K characters S. Both lists are numbered from 1 to K. The integer Ai corresponds to the character Si. Denote B as the subset of A. There will be a rule for each possible subset: if an integerx is only divisible by all elements in B, print a string which is the concatenation of the corresponding character of each element in B, sorted by the index in ascending order. However, if B is an empty subset, print the first digit of x instead. Does it look complicated? Do not worry, as it is just a generalization of the regular Fizz Buzz. For example, if A = [3, 5] and S = [F, B], you will get the normal Fizz…
- Problem: A small company needs an interactive program to compute an employee’s paycheck. The payroll clerk will initially input the data, and given the input data, an employee's wage for the week should be displayed on the screen for the payroll check. The data for the employee includes the employee's hourly pay rate and the number of hours worked that week. Wage is equal to the employee's pay rate times the number of hours worked (up to 40 hours). If the employee worked more than 40 hours, wage is equal to the employee's pay rate times 40 hours plus 1½ times the employee's pay rate times the number of hours worked above 40. Instructions: Match the action at the left-side with the correct step number at the right-side (the attached picture). Note that it may be possible to group more than one related actions in the same logical step / process without altering the essence of the algorithm. In the program flow, input and checking of hourly pay rate should come before that of the number…The language is C# Write a program named TestScoreList that accepts eight int values representing student test scores. Display each of the values along with a message that indicates how far it is from the average. An example of how the results should be output is as follows: Test # 0: 89 From average: 6 Test # 1: 78 From average: -5Using C++ Dice game with varying dice (d4-d20) The game will consist of two or more players. Each player will attempt to reach a set number (say 100) By rolling dice and adding up the results of the dice roll. if the player rolls a certain number (in this case a 6) then the player gets two more tries, if they roll a 6 two more times, they lose their turn and gain no points that round. The goal to get to 100 first. During a round, each player takes a turn. At the beginning of the game, each player rolls a dice, with the higher roll going first each round. A player’s total score is the sum of their turn scores, the users will have the ability to choose either to stop or to continue after first roll, if a player decides to stop, then their turn ends and their score for that turn is their maximum roll during that turn, if the player decides to continue, they roll the dice again. At the end of the game the program should display the winner your program should have at least four of…
- Theater Ticket System: A small ten-seat theater has contracted you to build software which will reserve tickets. The theater has two rows of five seats each. Each row is referred to by number (1 or 2) and each seat in the row is referred to by letter (A, B, C, D, and E). When started, the program should ask the user for the row they prefer (row selection). If that row has no empty seats then the program should ask the user if they prefer the other row, if no then display a message stating the next show is tomorrow. Upon selecting a row, the program should present the user with a choice of available seats in the row. The user can then either choose a seat and print the ticket (in this case a simple message will suffice) or return to row selection. If a ticket is printed the program should return to row selection. The program terminates when all seats are reserved. Please enter a row: 1 Available seats: A B C D E Which seat, enter Q for none?: B You have booked seat: 1B…Lab Exercise #6: Product Price List In this activity, you are to create a program that will maintain a list of products and their prices. The program is a menu- driven program that has choices for adding a new product and its price, listing all products with corresponding prices. updating the price of a product, and removing a product. A sample execution is given below: [U]pdate | [L]ist | [E]xit Menu: [A]dd| [R]emove Option: A Product: Notebook Price (Php): 15.00 Option: A Product: Pen Price (Php): 10.00 Option: A Product: notebook *The product already exists* Option: U Product: notebook Price (Php): 18.20 Option: A Product: Pencil Price (Php): 8.50 Option: L NOTEBOOK PEN PENCIL Option: R Product: Pen 18.20 10.00 8.50 Option: R Product: PEN *The product does not exist* When adding an item, the product name and its price will be given. Product names are unique, case-insensitive, and with leading and trailing spaces removed. Therefore, adding the same product more than once is not…Theater Ticket System: A small ten-seat theater has contracted you to build software which will reserve tickets. The theater has two rows of five seats each. Each row is referred to by number (1 or 2) and each seat in the row is referred to by letter (A, B, C, D, and E). When started, the program should ask the user for the row they prefer (row selection). If that row has no empty seats then the program should ask the user if they prefer the other row, if no then display a message stating the next show is tomorrow. Upon selecting a row, the program should present the user with a choice of available seats in the row. The user can then either choose a seat and print the ticket (in this case a simple message will suffice) or return to row selection. If a ticket is printed the program should return to row selection. The program terminates when all seats are reserved.
- A for construct is a loop that processes a list of items. As a consequence, it continues to run as long as there are items to process. Is this statement true or false?Using a Sentinel Value to Control a while Loop in Java Summary In this lab, you write a while loop that uses a sentinel value to control a loop in a Java program that has been provided. You also write the statements that make up the body of the loop. The source code file already contains the necessary variable declarations and output statements. Each theater patron enters a value from 0 to 4 indicating the number of stars the patron awards to the Guide’s featured movie of the week. The program executes continuously until the theater manager enters a negative number to quit. At the end of the program, you should display the average star rating for the movie. Instructions Ensure the file named MovieGuide.java is open. Write the while loop using a sentinel value to control the loop, and write the statements that make up the body of the loop to calculate the average star rating. Execute the program by clicking Run. Input the following: 0, 3, 4, 4, 1, 1, 2, -1 Check that the…PrimeAA.java Write a program that will tell a user if their number is prime or not. Your code will need to run in a loop (possibly many loops) so that the user can continue to check numbers. A prime is a number that is only divisible by itself and the number 1. This means your code should loop through each value between 1 and the number entered to see if it’s a divisor. If you only check for a small handful of numbers (such as 2, 3, and 5), you will lose most of the credit for this project. Include a try/catch to catch input mismatches and include a custom exception to catch negative values. If the user enters 0, the program should end. Not only will you tell the user if their number is prime or not, you must also print the divisors to the screen (if they exist) on the same line as shown below AND give a count of how many divisors there are. See examples below. Your program should run the test case exactly as it appears below, and should work on any other case in general. Output…