Sandra owns a clone computer store and she sells computer packages with just two options, memory size and hard drive size. The prices are the following: Hard Drive Size 320GB Memory (RAM) 2GB 4GB 8GB 160GB $599.99 $649.99 $999.99 $799.50 $899.99 $1229.99 Design and test a program that calculates the price of the computer based on a selection entered by the customer
Q: arden Glory is a partnership that provides gardening and yard maintenance services to individuals an...
A:
Q: -In CMOS gates, what occurs when the frequency of the input signal increas A) The power dissipation ...
A: Question: In CMOS gates, what occurs when the frequency of the input signal increases: A) The power ...
Q: What part does Moore's law play in supercomputing, grid computing, and cluster computing?
A: According to Moore's Law: Moore's Law is a computing or technology word that refers to the fact that...
Q: When did the first desktop computer come into existence?
A: A computer is an electronic machine that takes input , process it and produces desired output which ...
Q: Activity 1: Describe how communication is influenced by Use a separate sheet for your answers.
A: NOTE: ACCORDING TO COMPANY POLICY WE CAN SOLVE ONLY 1 QUESTION. YOU CAN RESUBMIT THE QUESTION AGAIN ...
Q: Discuss your personal storage strategies and what you are doing to ensure that your data remains saf...
A: 1. Different storage strategies are; SSD Flash Drive Arrays Using only light memory, these robust st...
Q: Define the term "high cohesion."
A: High-cohesion teams are tightly-knit groups of individuals who work well together toward a common go...
Q: What is the CAM table? And what is the command to display the CAM table
A: As per our policy we are allowed to solve single question in multi part question . please upload oth...
Q: The role of the UNIX kernel is crucial. Explain why this is so and how it is treated differently fro...
A: The meaning of such a UNIX kernel: This computer program's main structure is the UNIX kernels. It c...
Q: must you specify in your clients’ configurations to adhere to your subnetting scheme? a. 255.255.25...
A: Ans- The subnet mask which we must specify in our clients configurations for adhering to our subnett...
Q: Using the Language Prolog, Does [[A|B], C] match with [mineDog,loneStar,greenCat]
A: Answer: False.
Q: Create a C program using a Two-Dimensional Array that will display values below: Note: 2 rows and ...
A: here in this question we have asked to write a program which input 2D matrix size from user and prin...
Q: Assume in a computer A, the execution time equals 960 ns, CPI of 1.61, and clock rate of 3GHz. If th...
A: Here, I have to provide a solution to the above question.
Q: What is the time complexity (in big-O notation) of binary search in a sorted array containing m (m >...
A: SUMMARY: - Hence, we discussed all the points
Q: What is the output of the following cod print(10**2//-3) а) -20 b) 33 с) -33 d) -34
A: Given The answer is given below.
Q: Suppose you have a RISC machine with a 2.7 GHz clock (i.e., the clock ticks 2.7 billion times per se...
A: The answer is
Q: Problem 12. Which of the following two initializations to 1 of a two- dimensional array (matrix) is ...
A: Given c++ program contains two initialisations and an array is initialised which contains 128 rows a...
Q: Write a function that assigns the user defined values to these variables. Write another function tha...
A: Explanation: - Include all the necessary header files. - Create two functions. One for taking in...
Q: 1. Giving the following Java program representing the class student, complete the missing code. a. G...
A: Here, I have to write a java program for the given class Student and complete the parts given.
Q: (p → (q v r)) → ((p ^ ¬q) → r) is O Contingency O Tautology O None of the choices O Contradiction O ...
A: understanding some basic terms 1) tautology - a tautology is a proposition that is always true 2) ...
Q: 4. Define the Circle2D class that contains: > Two double data fields named x and y that specify the ...
A: Program: -------------------------------------------------------------------------------------------...
Q: (An B) u (An B) = O B O A O None of the choices O AnB O AnB
A: Answer is in step 2
Q: Given the following sets: A = {2, 3, 4}, B = {1, 5, 10}, C = {-1, 1, 2}, D = {2, 5, 10} What is the ...
A: Note: This is multiple questions-based problem. As per company guidelines, only the first question i...
Q: 22. Create a C++ function that takes two integers p and q as the parameters and then returns true in...
A: C++ Code: #include <iostream>using namespace std; bool fun(int p, int q){ if (p == 10) return ...
Q: 22. Create a C++ function that takes two integers p and q as the parameters and then returns true in...
A: Create a C++ function that takes two integers p and q as the parameters and then returns true in the...
Q: Computer Science What is an assembler directive? Give examples of assembler directive and its func...
A: Assembler directives are instructions that direct the assembler to do something. Assembler directive...
Q: A hamilton circuit exists in the ff. graph: а b. f h O True O False
A: I have answered both the questions. First we will see if the given graph has Hamilton circuit or not...
Q: Write a code in AVR to load values $30, $15 and $40 using register R16 into locations $101, $102 and...
A: LDI R16, $30 ; Initialize the value. Load the value $30 in the registerR16. LDI R17, $15 ; Initiali...
Q: 1.Scilab a. List all commands with their corresponding functions and symbols
A: Due to company policies, I am compelled to solve only one question that is the first question. Pleas...
Q: Write a C++ program to find the sum of first and last digit of a user entered number.
A: Introduction: Write a C++ program to find the sum of the first and last digit of a user entered numb...
Q: 1) Which of the following acts as a government inside the computer, that communicates with hardware ...
A: Solution 1 - Answer - B (Operating System) A computer operating system is an example of system s...
Q: d John von Neum
A: What city did John von Neumann grow up in
Q: n this question, we will ask whether an information cascade can occur if each individual sees only t...
A: SUMMARY: - Hence, we discussed all the points.
Q: How does MicroStrategy use Intelligent Cube Technology?
A: When we run the reports created in MicroStrategy, they fetch data from the warehouse to apply calcu...
Q: public class Class private static int private int public static void main(String) args) Class2 al ne...
A: Given that Java code using different classes.
Q: scramble words using recursion
A: Program Explanation: Declare the required imports Declare and define the public class Define the me...
Q: Write a C++ program to find the sum of first and last digit of a user entered number.
A: The program is written in C++. Check the program screenshot for the correct indentation. Please chec...
Q: rmation, hardware are becoming so sophisticated that they are able to process data instantaneously o...
A: NOTE: ACCORDING TO COMPANY POLICY WE CAN SOLVE ONLY 1 QUESTION. YOU CAN RESUBMIT THE QUESTION AGAIN ...
Q: Consider the following scenario: we have a byte-addressable computer that employs fully associative ...
A: Mapping in Associative Mode: It is possible to store data and refer to it using two different memory...
Q: Using pointer arithmetic, update nthCharPtr to point to the 4th character in oddOrEven.
A: Arithmetic operation on pointers is like normal arithmetic operations only but the difference is tha...
Q: List the functions below from the lowest order to the highest order of growth. Indicate any that are...
A: List the functions below from the lowest order to the highest order of growth. Indicate any that a...
Q: give 1 sample process that can be executed in kernel components.
A: Under Linux kernel: During Microkernel, a function can program I/O Controller buttons, operate OS sy...
Q: the IOPS number calculated for the CIO to determine a purchase of new storage equipment and the vend...
A: “Since you have asked multiple questions, we will solve the first question for you. If you want any ...
Q: What is the importance of design in SDLC (Subject: Software Design and ARchitecture)
A: Software development life cycle contain seven steps Planning Analysis Design development testin...
Q: bläi 3 correct the following program and what the output of inches when the user input data is * [fe...
A: The participant's outcome from the C program: That program determines whether or not someone learner...
Q: Write an algorithm to identify keyframes from a video with the file names being the timestamp as per...
A: Algorithms Leaving at least: They have to look. In comparison to that same R-CNN computational study...
Q: A friend calls you for help with his home office Internet connection. He is using an 802.11n wirel...
A: Answers:- A friend calls you for help with his home office Internet connection. You are using 802.1...
Q: 3. Suppose that a 32M x 16 main memory is built using 512K × 8 RAM chips and memory is word-addressa...
A: I think , ans (a), (b) (c) is already given . I have to give ans (d),(e),(f),(g). ANS: main memory s...
Q: Which of the following do you need to have in order to create a website using Google Sites? An...
A: We are going to see whats required to create a website using Google site.
Q: 5- What is the ROM size requird to implment a circuit that calculates B A2 if A is 4 bits Cflin-flon...
A: The answer of 5 question is givn below:-
Step by step
Solved in 4 steps with 2 images
- Which of the following operator cannot be overloaded. (2) a.+b.::c[]d.=e.Question Using Java programming language write a program to manage a hotel with 24 rooms;10 rooms are Executive, with price Gh ₵ 2500.00 per night,7 rooms are Chalets, with amounts Gh ₵ 1500.00 per night7 rooms are Ordinary, with amount Gh ₵ 500.00 per night The program should allow customers to book for rooms for a number of nights, and update the number of empty rooms available for each category when a customer has paid fully and has checked-in; also update the number of empty rooms available when customer checks-out.Customers should make bookings with their first names, telephone number A customer should be prompted to know if a room is booked (meaning a another customer has booked it but has not paid fully, or has not checked-in) A customer should be prompted to know if a room is occupied (meaning a booked room has been fully paid for, or the customer has checked-in) A customer should be prompted to know if a room is available (meaning a room has neither been booked nor…Evaluate the following expressions and determine the value of allvariables, based on the above variable declarations.
- Sample 1: Enter numbers: 3 5 2 5 5 5 0 -------> user enters each number one at a time. Hits enter after each number. Puts 0 when user wants to end. The largest number is 5 The occurrence count of the largest number is 4 "user enters each number one at a time. Hits enter after each number. Puts 0 when user wants to end." Is the part in bold possible because i cant find a solution.You and Fredrick are good friends. Yesterday, Fredrick received credit cards from ABCD Bank. He wants to verify whether his credit card numbers are valid or not. You happen to be great at regex so he is asking for your help! A valid credit card from ABCD Bank has the following characteristics:► It must start with a , or .► It must contain exactly digits.► It must only consist of digits (-).► It may have digits in groups of , separated by one hyphen "-".► It must NOT use any other separator like ' ' , '_', etc.► It must NOT have or more consecutive repeated digits. Examples: Valid Credit Card Numbers 4253625879615786 4424424424442444 5122-2368-7954-3214 Invalid Credit Card Numbers 42536258796157867 #17 digits in card number → Invalid 4424444424442444 #Consecutive digits are repeating 4 or more times → Invalid 5122-2368-7954 - 3214 #Separators other than '-' are used → Invalid 44244x4424442444 #Contains non digit characters → Invalid 0525362587961578 #Doesn't start with 4, 5 or 6 →…You and Fredrick are good friends. Yesterday, Fredrick received credit cards from ABCD Bank. He wants to verify whether his credit card numbers are valid or not. You happen to be great at regex so he is asking for your help! A valid credit card from ABCD Bank has the following characteristics:► It must start with a , or .► It must contain exactly digits.► It must only consist of digits (-).► It may have digits in groups of , separated by one hyphen "-".► It must NOT use any other separator like ' ' , '_', etc.► It must NOT have or more consecutive repeated digits. Examples: Valid Credit Card Numbers 4253625879615786 4424424424442444 5122-2368-7954-3214 Invalid Credit Card Numbers 42536258796157867 #17 digits in card number → Invalid 4424444424442444 #Consecutive digits are repeating 4 or more times → Invalid 5122-2368-7954 - 3214 #Separators other than '-' are used → Invalid 44244x4424442444 #Contains non digit characters → Invalid 0525362587961578 #Doesn't start with 4, 5 or 6 →…
- - What will be the value of X as a result of the following operations? A=13; B=4; X-A % B; X-How do I fix the error in the code? Error: Error ---------- Movie.toString() returns: Movie: [ Minutes 081 | Movie Name: Toy Story | is kid friendly | Number of Cast Members: 4 | Cast Members: Tom Hanks, Tim Allen, Don Rickles, Jim Varney ] instead of: Movie: [ Minutes 081 | Movie Name: Toy Story | is kid friendly | Number of Cast Members: 4 | Cast Members: Tom Hanks, Tim Allen, Don Rickles, Jim Varney ] Code: import java.util.*; import java.util.Arrays; public class Movie { private String movieName; private int numMinutes; private boolean isKidFriendly; private int numCastMembers; private String[] castMembers; // default constructor public Movie() { this.movieName = "Flick"; this.numMinutes = 0; this.isKidFriendly = false; this.numCastMembers = 0; this.castMembers = new String[10]; } // overloaded parameterized constructor public Movie(String movieName, int numMinutes, boolean isKidFriendly, String[] castMembers) {this.movieName = movieName;this.numMinutes =…can you please write it in java.util.scanner form Serendipity Booksellers has a book club that awards points to its customers based on the number of books purchased each month. The points are awarded as follows: • If a customer purchases 0 books, he or she earns 0 points. • If a customer purchases 1 book, he or she earns 5 points. • If a customer purchases 2 books, he or she earns 15 points. • If a customer purchases 3 books, he or she earns 30 points. • If a customer purchases 4 or more books, he or she earns 60 points. Write a program that asks the user to enter the number of books that he or she has purchased this month and then displays the number of points awarded.
- Write a C++ code based on the Sample Dialog Validate input. Offer to "Try Again". SAMPLE DIALOG: This is just a sample dialog. Code must have an input for number of team, team name, course, & score. ------------------------------- CODING CHALLENGE RESULTS Number of Teams(6-10): 6 ENTER TEAM DETAILS BELOW... Team 1------------------------- Team Name(No space): HariCode Course(IT/CS/IS/CE): CE Team Score(50..100): 65 Team 2------------------------- Team Name(No space): HariDevs Course(IT/CS/IS/CE): CS Team Score(50..100): 90 Team 3------------------------- Team Name(No space): JavaNiceDay Course(IT/CS/IS/CE): IS Team Score(50..100): 75 Team 4------------------------- Team Name(No space): ITwizards Course(IT/CS/IS/CE): IT Team Score(50..100): 70 Team 5------------------------- Team Name(No space): DigitalKraze Course(IT/CS/IS/CE): CS Team Score(50..100): 85 Team 6------------------------- Team Name(No space): BinaryCode Course(IT/CS/IS/CE): IS Team Score(50..100):…Compare userNumber with compareNumber and display 'Numbers are not equal' if the numbers are different. Then, display 'Variables are not identical' if the variables are not identical (not strictly equal). let compareNumber = 3; // Code will be tested with: 3, 8, 42let userNumber = '3'; // Code will be tested with: '3', 8, 'Hi'Write an expression that prints "Eligible" if userAge is between 18 and 25 inclusive.Ex: 17 prints "Ineligible", 18 prints "Eligible".