Question 10 programming in racket Write a procedure (timezone) that takes no arguments and returns a ; *string* indicating your time zone. ; Remember the difference between a procedure call and the evaluation of a variable! ; Ex: (timezone) => "EST"
Q: What does it mean to use a prototype-based approach while creating software?
A: Introduction Prototype-based programming is a programming style that is based on the concept of…
Q: Read the code segment below. What will be the output of the code segment? for (int i = 0; i <= 11;…
A: Given: An integer array arr: {3, 1, 4, 1, 5, 9, 2, 6, 5, 3, 5, 8, 9, 7, 9, 3, 2, 3, 8, 4, 6}…
Q: Complete the program below, named TreeBush, java, to print out the child-like picture of a tree and…
A: We need to add the System.out.println() statement to display the given task.
Q: What are the extra advantages and disadvantages of using ICT that we have discovered?
A: Information and Communications Technology (ICT). It covers breakthrough tools and property…
Q: So how exactly does putting the user first translate into software development?
A: UX: "User-Centered Design focuses on usability objectives, user characteristics, surroundings,…
Q: For servers, how would you characterize Ubuntu?
A: According to the information given:- We have define for servers, how would you characterize Ubuntu.
Q: Problems with wireless networks might arise if two stations are visible at once or if one station is…
A: If two stations are visible at once, it can cause interference and reduce the performance of both…
Q: Operating systems will always try to store a file's successive blocks on the next available disk…
A: A flat disc with a magnetic covering that may store data is known as a magnetic disc. This sort of…
Q: It is debatable as to what causes non-interrupted systems to perform worse than interrupt-driven…
A: The solution to the given question is: One possible explanation is that uninterruptible systems may…
Q: What may possibly cause a resumption of the previously completed instruction in the event of a…
A: The instructions that must be followed make up the software that must be run: Pages that are kept in…
Q: Generally, operating systems will try to keep successive file blocks on the same disk block as the…
A: Given: As a file is read from, operating systems try to maintain subsequent blocks on the same disc…
Q: It is not yet clear why connecting to a VPN is safer than connecting directly to the internet. What…
A: Introduction: With the use of a VPN, you may encrypt your data and shield your online activity from…
Q: An example of a MISD device is a systolic array, a subset of arrays. Systolic arrays are networks of…
A: The systolic array will be present when all of the arrays have been transmitted to all of the nodes,…
Q: If you want to learn how to code, then next semester is the time to enroll in a class. To begin…
A: Programs: Programming languages create standard commands. These instructions may become…
Q: To put it simply, "yes." Operating systems need to insert consecutive file blocks in the same…
A: Operating System: An operating system (OS) is a group of programs that controls computer…
Q: Does an operating system have different settings for each mode? What does the file system do…
A: Introduction : An operating system (OS) is a specialized type of software that manages the hardware…
Q: How may software additions possibly slow down an operating system?
A: Introduction: Identify the issues that develop when a computer operating system is upgraded to…
Q: Problem 1: The following figure shows Half Total Error Rate (HTER) changes over different Hamming…
A: Biometric systems are used to identify and authenticate individuals based on their unique…
Q: What's the difference between the Mobile-First and Desktop-First approaches to designing responsive…
A: The main difference between the responsive web design and the mobile-first design the way how the…
Q: You may try explaining the steps you're trying to convey using structured English even if they have…
A: The first stage will cover structured English and illustrate how it might be used to express…
Q: describes the essential parts of an OS kernel
A: In this question we have to discuss the essential parts of an OS kernel Let's describe
Q: In what ways do predictive project teams and agile project teams differ in terms of the leader's…
A: - We need to see the difference in leader's responsibilitiesb of predictive project teams and agile…
Q: The fundamental responsibilities of an OS are broken down as follows:
A: An operating system is a programme that runs application programmes and acts as a communication…
Q: How and why interrupt-driven OSs outperform their non-interrupted counterparts is a hotly debated…
A: Interrupts provide users additional computer control. An interruption-free environment lets users…
Q: How do programming languages function, and what are they? Second, why do we need programming…
A: Introduction: We'll answer the first three subparts of your inquiry. Please resubmit the question…
Q: The operating system is responsible for arranging the blocks in the right sequence whenever a file…
A: Introduction: File systems work on many storage devices and media. Hard disc drives will likely be…
Q: The connection between the object-oriented programming paradigm and design patterns has to be…
A: The object-oriented programming paradigm, as well as design patterns, will be discussed: A design…
Q: Does the term "software" have a particular meaning? Is it possible to explain application software?…
A: INTRODUCTION: It is possible to trace the origins of software and its evolution back to the early…
Q: Is it feasible to define coupling and cohesion in the context of object-oriented programming…
A: OOAD: Using an object-oriented software with visual modulation to research and build a system. Model…
Q: 5. Create a MATLAB file and write a code to implement the following (a) Create a 4x4 matrix. Name…
A: Answer: Algorithms: Step1: we have create 4 x 4 matrix which we have taken randomly Step2: Then we…
Q: In this lab, you are to create ONE project that contains TWO forms for this assignment. The form and…
A: Please refer to the following step for the complete solution to the problem above.
Q: Write a program that asks the user for two integers (let’s call input 1 “my_num” and input 2 “x”).…
A: 1) Below is C# program that asks the user for two integers divide first number by second number…
Q: Think about the WAN wireless access technique you'd want to use. Please explain what makes this…
A: Introduction of WAN: Wide Area Network (WAN) is a type of computer network that covers a large…
Q: Create and also List the steps required to change an aligned Button (left aligned) to a properly…
A: Please refer below for your reference: Steps to change the left aligned button to center aligned are…
Q: Write out the steps you need to take when planning an Application.
A: “Since you have posted multiple questions, we will provide the solutiononly to the first question as…
Q: a) Complete this C/C++ function that takes an integer and returns a 1 if bit 10 is a 1, or otherwise…
A: Bitwise operators allow us to manipulate the individual bits of a number. The most commonly used…
Q: Walk me through the steps of a top-down design.
A: Top-down design: Top-down design is a software development approach in which a complex system…
Q: Where may one find a good PKES system
A: Introduction The most common method of locating a Port Kaien Experimental Station is to look at the…
Q: Is there a predetermined kind of system that may be part of a system's construction?
A: Introduction: Application tracking systems, or ATS for short, are software solutions that are used…
Q: In Java, import TreeMap
A: Java TreeMap class is a red-black tree based implementation. A TreeMap provides an efficient means…
Q: Defining and explaining the IoT reference model is essential. There are four levels of…
A: The IoT reference model standardizes the terminology for IoT architecture and systems. It's…
Q: This article will provide a comprehensive overview of Windows Service Control Manager.
A: Introduction: SCM: Service Control Manager is a unique Windows NT system function that launches,…
Q: Which of these describes how an item in a doubly linked data structure is accessed? a.immediately…
A: Requirement: Find how to access an item in a doubly linked data structure. Introduction: A doubly…
Q: ALGORITHM Y (n) // Input: n is a positive integer if n = 1 return 1 else return Y (n − 1) + n…
A: In step 2 , I have provided ANSWER with brief explanation---------- In further steps, I have…
Q: When designing a program, what factors should you prioritize the most? Give an explanation of the…
A: When designing a program, the following factors should be prioritized: Functionality: The program…
Q: In contrast to architectural design, a computer-based organization is controlled by machines rather…
A: Computer architecture is a functional statement of requirements and design implementation for…
Q: The operating system and the user program both have their own perspective on the virtual machine.…
A: Attitudes about a virtual machine The operating system manages all of the virtual machines and is…
Q: Why is it important to partition Linux and how?
A: Linux: An open-source operating system based on Unix is called Linux. It is the most widely used…
Q: The intersection of a bitline and wordline on a silicon semiconductor wafer determines the…
A: 1) Memory is made up of bits arranged in a two-dimensional grid. 2) Memory cells are etched onto a…
Q: Justify the designer's selection of spiral growth over the alternative, top-down approach.
A: Introduction : The spiral growth approach is an iterative software development strategy that…
Trending now
This is a popular solution!
Step by step
Solved in 2 steps
- /* Program Name: BadDate.cpp Function: This program determines if a date entered by the user is valid. Input: Interactive Output: Valid date is printed or user is alerted that an invalid date was entered */ #include <iostream> bool validateDate(int, int, int); using namespace std; int main() { // Declare variables int year; int month; int day; const int MIN_YEAR = 0, MIN_MONTH = 1, MAX_MONTH = 12, MIN_DAY = 1, MAX_DAY = 31; bool validDate = true; // This is the work of the housekeeping() method // Get the year, then the month, then the day // This is the work of the detailLoop() method // Check to be sure date is valid if(year <= MIN_YEAR) // invalid year validDate = false; else if (month < MIN_MONTH || month > MAX_MONTH) // invalid month validDate = false; else if (day < MIN_DAY || day > MAX_DAY) // invalid day validDate = false; // This is the work of the endOfJob()…True or False When you are working with a value type, you are using a variable that holds a piece of data.H1. A value returning function executes its statements and then returns a value. true or false Explain with details also explain wrong option
- Domino's Time Function Name: dominosTime() Parameters: N/A Returns: None Description: During the summer, you ordered a lot of food from Domino's. Pizzas are $12, an order of pasta is $6, and chicken wings are $8. Write a function that asks the user how many of each food item they would like, and then print a response telling them what their order to- tal will be. The order total should be an integer. >>> dominosTime() How many pizzas do you want? 3 How many orders of pasta do you want? 2 How many orders of chicken wings do you want? 2 By ordering 3 pizzas, 2 orders of pasta, and 2 orders of chicken wings, your order total comes to $64.Problem definition: A college wants to know how well its students did on an exam. The following program summarizes the results. The program asks a user to enter the results pass (1) or fail (2) for 10 students. It displays the number of passed and the number of failed. It displays a message "Raise error" if the number of passes is more than 8 You are asked to identify statement with syntax errors by selecting them as wrong and the correct statements as rightVoid functions do not return any value when they are called.True or false
- The Problem__: Write a program that calculates the average of a group of test scores, where the lowest score in the group is dropped. It should use the following functions: ⚫ void getScore() should ask the user for a test score, store it in a reference param- eter variable, and validate it. This function should be called by main once for each of the five scores to be entered. ⚫ void calcAverage() should calculate and display the average of the four highest scores. This function should be called just once by main and should be passed the five scores. ⚫int findLowest() should find and return the lowest of the five scores passed to it. It should be called by calcAverage, which uses the function to determine which of the five scores to drop. Input Validation: Do not accept test scores lower than 0 or higher than 100. YOU MUST USE THE STATED FUNCTIONS AND COMPLETE Input VALIDATION. **DO NOT use an ARRAY OR GLOBAL VARIABLES!!. you MUST USE function prototyping TEST THE FUNCTION TWICE.…Function Name: compliments Parameters: answer1 - a boolean (True or False) representing whether the user is "smart" answer2 - a boolean (True or False) representing whether the user is "awesome" answer3 - a boolean (True or False) representing whether the user is "fun" Description: Write a function that outputs a string of compliments based on the adjectives selected by the inputs. Use the inputs True and False. The function should return the string “You are” concatenated with the compliments that are true. The three compliments should be: "smart" "awesome" and "fun". If none of the compliments are true, print the string “Goodbye.” instead. Test Cases: >>>compliments(True, True, True) You are smart awesome fun. >>>compliments(False, True, False) You are awesome. >>>compliments(False, False, False) Goodbye.Exercise I- Medicine Write a program that asks the user to enter the name of the medicine (t for ThroX, f for FeliX), his mass. The user should enter as well if he has a prescription or not. The program will calculate the dosage using: age and his ThroX without prescription -The max dosage should be 0.75 mL -The dosage = mass / 150 -The number of pills per day to take is 1 ThroX with prescription -The dosage =mass * 3 / 150 -The number of pills per day to take is 5 FeliX with prescription -The dosage = 0.77 mL FeliX without prescription -The dosage should be between 0.3 and 0.7 -The dosage = mass * 0.009 -The number of pills per day to take is 2 -The number of pills per day to take is 6 The program should display the dosage and the number of pills to be taken per day if the requirements are full filled, otherwise it display "Please check your doctor for a prescription". In case the medicine does not exist in the database, the program display “Your medicine is not in our database!"…
- C++ Mobile Service ProviderModify the program in Problem 5 so that it also displays how much package A customers would save if they purchased package B or C, and how much money Package B customers would save if they purchases Package C. If there would be no savings, no message should be printed. calculate the cost of all plans (A, B, and C) based on the number of minutes the user-entered. Then based on the plan user chose, compare, and calc. the difference among the plans. this one has some errorC++ Mobile Service ProviderModify the program in Problem 5 so that it also displays how much package A customers would save if they purchased package B or C, and how much money Package B customers would save if they purchases Package C. If there would be no savings, no message should be printed. calculate the cost of all plans (A, B, and C) based on the number of minutes the user-entered. Then based on the plan user chose, compare, and calc. the difference among the plans.Time CalculatorWrite a program that asks the user to enter a number of seconds.-There are 60 seconds in a minute. If the number of seconds entered by the user is greater than or equal to 60, the program should display the number of minutes and leftover seconds in that many seconds.-There are 3,600 seconds in an hour. If the number of seconds entered by the user is greater than or equal to 3,600, the program should display the number of hours, minutes, and leftover seconds in that many seconds.-There are 86,400 seconds in a day. If the number of seconds entered by the user is greater than or equal to 86,400, the program should display the number of days, hours, minutes, and leftover seconds in that many seconds.