Write C++ program to compute the area of circle if the radius r=2.5. Note: area of circle is r*r* pi, pi is 3.14
Q: What is the maximum memory location into which an application software may be loaded
A: SUMMARY: -Hence, we discussed all the points
Q: What is the IEEE-754 single precision real number after encodingt the real decimal number -76.0625? ...
A: Here in this question we have given a decimal numbers and we have asked to convert it into IEEE 754 ...
Q: For video services, what interrupt number is used?
A: The driver must supply an interrupt number when registering an interrupt. That is the interrupt numb...
Q: Problem 2 For the dataset below using a topological vector data model, mark all the nodes (where top...
A: Node connecting edges Node Edge Edge Edge N1 L1 L5 L6 N2 L2 L4 L5 N3 L3 L4 L6 N4 L1 L2 L3
Q: Please describe the purpose of vulnerability scoring.
A: Introduction: The Common Vulnerability Scoring System (CVSS) allows you to capture the key aspects o...
Q: In linux explain ps command with any 5 switches.
A:
Q: what is definition of networking? List at least five ways that networking is an essential part of th...
A: Step 1 The answer is given in the below step
Q: ite a PL/SQL program with an IMPLICIT cursor that goes through the table KUCERA and measures the len...
A: Please use below to meet the above req
Q: Perform subtraction on the given unsigned binary numbers using the 2’s complement of the subtrahend....
A: SUMMARY: - Hence, we discussed all the points.
Q: s Ubuntu based on a different Linux distribution than Red Hat?
A: Introduction: Ubuntu uses the APT and DPKG package managers from Debian.
Q: Consider a two-link network where Host A is connected to the router by a 1 Mbps link with 10 ms prop...
A: Please refer below for the transmission delay:
Q: eate an interface relational interface relational { void greaterThan(); void lessThan(); void greate...
A: As we know In Java, an interface is a template for a class. also, in java It has abstract methods an...
Q: Describe various employment legal documents including: non-disclosure agreements, non-compete clause...
A: Introduction: Describe various employment legal documents including: non-disclosure agreements, non-...
Q: Answer all or don't answer at all (it's urgent so) Subject : Operating System Read research pa...
A: Worse is better : The worse is better is-better plan theory, initially depicted in Richard Gabriel'...
Q: is a group of related projects, subsidiary programs, and program activities managed in a coordinated...
A: --- is group of related projects, subsidiary programs, and program activities managed in coordinated...
Q: What are the references to the main key in the same relation?
A: Introduction: The primary key constraint requires that each row in the relational database managemen...
Q: Recognize the difference between ternary and three binary connections.
A: Introduction: The binary recursive relationship construct is shaped like a diamond with two connecti...
Q: Assign a name to the graphics processing unit.
A: Introduction: A graphics processing unit -GPU is a computer processor specifically designed to handl...
Q: Using structural induction, prove that for any full binary tree T, e(T) i(T) + 1.
A: Base: A full binary tree covering one vertex, marked •, obviously serious1 leaf and 0 internal condi...
Q: 6. Augment your Matlab code to use Eqs. 5 - 8 to calculate and plot the four impedance matrix parame...
A: Syntax Y = fft(X) Y = fft(X,n) Y = fft(X,n,dim) Description Y = fft(X) computes the discrete Fourier...
Q: Why would a problem cause the current command to be retried?
A: Page fault is a phrase that refers to the pages that are kept in memory. When a user requests access...
Q: Assume that a RISC processor executes each instruction in 2 microseconds and that a 1/O device can o...
A: Introduction: Assume that a RISC processor executes each instruction in 2 microseconds and that a 1/...
Q: Who came up with the motherboard?
A: Motherboard is nothing but an integrated circuit board that’s having the computer’s components and r...
Q: . Define a class named Book that represents a book about Java Programming Language, and it contains:...
A: Here, I have to write a java program to the above question.
Q: Which kind of parallelism (data or control) is optimal for SIMD? What kind of parallelism does MIMD ...
A: Introduction: Program-level parallelism is decentralizing a single program and running it on several...
Q: A network is the interconnection of a set of devices such as computers, laptops, workstations, cellu...
A: answer is
Q: find the context-free grammar that represents the language that is accepted by this given PDA
A: find the context-free grammar that represents the language that is accepted by this given PDA
Q: Alice and Bob use the ElGamal scheme with a common prime q= 131 and a primitive root a = 6. Let Bob’...
A: The answer is
Q: must be able to identify individual hosts (such as a computer, printer, router, etc and individual n...
A: The answer is
Q: Give a CFG for the language L = {#ri#r2# .#r#|k > 2 and each r; € {a, b}* and for some i, r; = }.
A: CFG: CFG stands for Context Free Grammar. It is a formal grammar which is used to generate all possi...
Q: Develop a class diagram for following description:
A: A class diagram is used to visualize the design of the system. It uses various relationships between...
Q: In what way did the first computer come to be?
A: Introduction : History of Computers: Computers are machines that store and process data, and their c...
Q: Help me with the code. I use BlueJ. 1.Find the mean of 5 elements inserted by user
A: In the above program, we need to find mean/average of elements entered by user. The result of the to...
Q: Create a single SHLD instruction that moves the AX register's highest bit to the DX register's lowes...
A: Given that: Create a single SHLD instruction that shifts the highest bit of the AX register to the l...
Q: provided below as well as samples in the text as guides. Save the WBS in list form as a Word file. ...
A: Please check the step 2 for solution
Q: Extend DATAVIEW to support some blockchain features, such as the support of Metatask, a new token to...
A: Blockchain can enable Universal Basic Income, (UBI) through a system like Circles, or power local cu...
Q: Make a list of two external and two internal limitations to your ability to hear effectively.
A: Introduction: In effective listening, the listener pays attention to the speaker and understands hi...
Q: What does a hybrid strategy mean in the context of data warehousing?
A: Introduction: The hybrid data warehouse strategy combines the traditional top-down and bottom-up app...
Q: How do Computer Science and Computer Engineering differ from one another?
A: Both computer science (CS) and computer engineering (CE) are tech-intensive fields oriented around c...
Q: here are four levels of input and output in a computer system. Which level is the most general and s...
A: answer is
Q: This is a list of the first supercomputers in the world.
A: This is a list of the first supercomputers in the world.
Q: Which AWS service can let us centrally manage billing and security rules across several accounts? (...
A: Introduction: Language is a widely used programming language that has been used to develop a variety...
Q: How can you use an FFT in python to detect the frequencies coming from a .wav file that is playing p...
A: # import installed libraries from scipy.io import wavfile import matplotlib.pyplot as plt import num...
Q: What exactly is a multicore processor? What benefits does it provide consumers over a single core pr...
A: Introduction: A multi-core processor is one that contains many core logics.
Q: Which of the following INT 10h functions scrolls a rectangular window up?
A: Introduction: INT 10H Functions: Each INT ( INTERRUPT) represents a functions family, where usually ...
Q: Which field in the FPU control word allows you to modify the rounding mode of the processor?
A: Rounding Control Field or RC field controls how floating point instructions are rounded. See below ...
Q: A security analyst receives an alert regarding multiple logins to the corporate doud infrastructure ...
A: As per Bartleby guidelines, Since you have asked multiple question, we will solve the first question...
Q: What exactly do you mean when you say "index hunting"?
A: Introduction: An index is a collection of data, such as a set of files or database information. It's...
Q: ouble or char) NxN array (N>=2) 2. (char) 1x5 array containing the sort instructions Output: 1. (d...
A:
Q: Buffers are used to minimise access latency between various levels of the memory hierarchy. List the...
A: The answer is given below:-
Step by step
Solved in 3 steps with 1 images
- 3. Write a program to find the factorial of a given number by using a function in C+ programming language. Note: factorial(n)=1*2*3*....*n for n>1, factorial(0)=factorial(1)=1Q2: Write a program in C++ to read ten students' name and degrees then calculate the average degree for each student if all his degrees above or equal 50. If a student has a degree less than 50, do not calculate the average degree for him. then print the result as shown below: Ahmed Ali Degrees= Math Drawing. 66 66 Ali Assad Degrees= Math Drawing........ 40 50 Name Result Average Ahmed Ali Pass 66 Ali Assad Not pass Note: each student has 7 classes.write Program c++ to check equilateral, scalene or isosceles triangle Note:A triangle is said Equilateral Triangle, if all its sides are equal. A triangle is said Isosceles Triangle, if its two sides are equal. A triangle is said scalene Triangle, if none of its sides are equal.
- c++ A palindrome is a word or a phrase that is the same when read both forward and backward. Examples are: "bob," "sees," or "never odd or even" (ignoring spaces). Write a program whose input is a word or phrase, and outputs whether the input is a palindrome. If the input is bob, the output is: bob is a palindrome If the input is bobby, the output is: bobby is not a palindrome Hint: Start by just handling single-word input, and submit for grading. Once passing one single-word test cases, extend the program to handle phrases. If the input is a phrase, remove or ignore spaces. 356110.1926120.qx3zqy7Write a C++ program Design and write a program that will accept a sentence as input, reverse the words and print the sentence out backwards. The individual words should not be reversed as we did in class. The words in the sentence should be in reverse order. Example Input: The movie was not very true to the book.Output: book the to true very not was movie The (NOTE: You may keep the period at the end if you want to.) Turn in your design (Flow Diagram) along with your code and screen shots. You can use a program like PowerPoint or some other drawing package for this or you can draw it by hand then take a picture and upload the picture along with your code and output. The following problem requires the file dictionary_four_letter_words.txt. (unable to attach the file, but copied some of it below) aahs aals abas abba abbe abed abet able ably abos abri abut abye abysaced aces ache achy acid acme acne acre acta acts acyl adds adit adosadze aeon aero aery afar agar agas aged agee ager ages…1. Write a program in C that will read a number as input. Check whether the number is prime number or not. Hint: A prime number cannot be divided by any other numbers without leaving a remainder. An example of a prime number is 13. It can only be divided by 1 and 13. Dividing a prime number by another number results in numbers left over e.g. 13 + 6 = 2 remainder 1 2. You are tasked to develop a C program that will generate a simple calculator using switch case statement. Hint: Program takes an arithmetic operator +, -, *, / and two operands from the user. Then, it performs the calculation on the two operands depending upon the operator entered by the user
- Solve the problem in C++ (Assign grades) Write a program that reads student scores, gets the best score, and then assigns grades based on the following scheme: Grade is A if score is >= best – 10; Grade is B if score is >= best – 20; Grade is C if score is >= best – 30; Grade is D if score is >= best – 40; Grade is F otherwise. The program prompts the user to enter the total number of students, then prompts the user to enter all of the scores, and concludes by displaying the grades. Sample Run Enter the number of students: 4 Enter 4 scores: 40 55 70 58 Student 0 score is 40 and grade is C Student 1 score is 55 and grade is B Student 2 score is 70 and grade is A Student 3 score is 58 and grade is BQuestion Write a complete C++ program that calculates the middle point from a list of points. A point is represented by its coordinates x and y. The middle point is expressed by the average of the coordinates x and y of the points, respectively. For example, if the points are (1,2), (2,4) and (3,3), then the middle point is calculated as: 1+2+3 2+4+3 3 = (2,3) 3 1. Declare and define the class Point with the following members: a. The attributes that store the coordinates. b. A constructor (you may choose any type of constructor). c. All the necessary accessor methods. d. All the necessary mutator methods. e. An overloaded operator for the plus (+) operator, which is used for adding two points. For example, given two points p1: (1, 2) and p2: (3, 3), thus p1 + p2 results in a new point, (3, 5) f. An overloaded operator for the division () operator, which is used for performing a division operation between a point with a decimal number. For example, p1/2.0 results in a new point, (0.5,…3. Write a program in C++ to find the number and sum of all integer are divisible by 9 between a Range (entered by the user). From: 100 To: 200 Numbers: 108 117 126 135 144 153 162 171 180 189 198 Sum of numbers = 15150
- 3. Write a program in C++ to find the Greatest Common Divisor (GCD) of two numbers. Example: Input the first number: 25 Input the second number: 15 The Greatest Common Divisor is: 5Write program c++ to check whether a number is a palindrome or not. [Hint]: A palindrome number is a number such that if we reverse it, it will not change. For example some palindrome numbers examples are 121, 212, 12321, 454, use if statement .Q3 Write a C++ program to find the sea wave speed (c) for the rang of water depths {0,5,10,15,20 ,25,30 }. The wave speed depends on the water depth (d) and wave length (L) (you can input them), according to these conditions IF - less than 0.05 c= /gd IF 0.5 2 - > 0.05 c = tan (kd) Otherwise, ">0.5 gL c = Where L=80 m,n=3.14, g=9.81 m/s2, and wave number k = 2n