Write a function myfunction that requests user input i the form of an integer value, 1, 2 or 3. The function should print out: 1. Option 1 selected 2. Option 2 selected 3. Option 3 selected when the corresponding number is entered, and the loop should end if q is entered. Any unrecognised options should result in the following statement being printed: • Unknown option
Q: Due to a political decision several years ago, there is only one forest and domain for this compa...
A: Active Directory Forest:Microsoft planned Active Directory to store and oversee data about articles ...
Q: Explain why many system developers and business leaders feel data modelling is the most critical asp...
A: Introduction: In general, each industry and area has a given quantity of data. They may contain a va...
Q: Recall the stack-based algorithm (where an opening brace or a parenthesis is pushed into the stack, ...
A: A stack is a linear data structure in which operations are carried out in a specific order. The sequ...
Q: Trailing zeros at the end of a number, but before an implied decimal point, are ambiguous. True F...
A: Trailing zeros at the end of a number but before an implied decimal point are ambiguous and should b...
Q: Why is a modem connected to a phone line and a communication adapter?
A: Communication adapters are auxiliary components which transmit data physically across the network to...
Q: Use Python. Assume a variable testScore that has already been initialized, write one if/elif/else st...
A: Python Code: # Initialized testScore variabletestScore = 100 # If testscore is equal to 100 then out...
Q: Q1) Write a C++ program to compute the value of S using function called Compute_S(x, n), where the v...
A: We need to write a C++ language program to find the value of S using the given function. Given funct...
Q: = ax+b is
A: 1) f(x) = ax+b is O(x2) 2) explain a condition where the code isn't O(x). also prove witness and gra...
Q: Select the method that is first invoked during the life cycle of activity. a. onStart() b. onStop() ...
A: We need to find the correct option.
Q: When a child process utilises unnamed pipes to read the parent's message buffer, what happens normal...
A: Step 1 Introduction A traditional pipe is "unnamed" and only lasts as long as the making process it...
Q: A user, mistakenly deleted files on the DNS zones and contents how you will recover.
A: The below are the steps to recover a deleted zone and all of its records. In this example the delete...
Q: Computer Science using this data data <- data.frame(no = seq(1,1000), offers = c(rep(0, 550), r...
A:
Q: Given an input string, complete a helper method that extracts the vowels and returns the string All ...
A: In this question, we are asked to return vowel only from the string by using recursion only Explaine...
Q: Write an assembly program to set RO-1 if there's a 5 in one of ten memory locations 5 is found, it s...
A: 1. First we set R0=1, R1=-5 ,r3=10, R4=x3100 , R2=M[R4] then we check if there is value 5 at memory ...
Q: What is ALE? Calculate ALE
A: ALE (annualized loss expectancy). In calculating risk, there are two general formulas that are used...
Q: Imagine that to save space, the TLB drops the Read/Write and User/Supervisor protection bits. The pa...
A: Process Concept A process is an instance of a program in execution. Batch systems work in terms of ...
Q: Below in my class (Pizza class) created in Python IDLE: How can I add an empty set for pizza topping...
A: Sets are used to store multiple items in a single variable. Sets store unique values. set() creates ...
Q: Please input 5th unique number: Please input 6th unique number: 30 Conditions are not met. Please in...
A: Code: winning=[10,20,40,45,46,49] while(True): print("Welcome to Lotto Draw!") print("1 [Draw]...
Q: acteristic of Big Data is variety, which means that: a. data can have many different formats. b. d...
A: one characteristic of Big Data is variety, which means that: a. data can have many different fo...
Q: C Language Explain what is the difference between a doubly linked list and singly linked list? Give...
A: The solution to the given problem is below.
Q: Python code not working, please check my code. Here is the question it is based off: Building and ...
A: ANSWER:-
Q: 1) Each team will create 2 domains. The domains will consist of a DC and a Windows 10 client compute...
A:
Q: Consider the WAN, or wide-area network, as your preferred means of wireless connectivity. What disti...
A: Find the answer given as below :
Q: Which of the following encoding systems can handle both traditional and simplified Chinese writing s...
A: The encoding system that can handle both traditional and simplified Chinese writing systems is Unico...
Q: Write a script “test.sh", the script will test file "goodbye" in the current directory or not, print...
A: Bash Programming Bash is a command processor that typically runs in a text window where the...
Q: Briefly discuss one (1) frequent issue that might arise as a consequence of ongoing usage of input d...
A: The keyboard and mouse are two of the most widely used input devices for interacting with computers....
Q: write a script that will format the result of x = 5^10 * 5; y = x/2 into a bank format.
A: Code: x=5^10*5;y=x/2;if(y>=0)fprintf("$%.2f",y);else y=-y; fprintf("($%.2f)",y);end Note: T...
Q: lwc (lighting web componet) make a calendar where the user is able to see the date pinned in the...
A: <template> <lightning-card variant="Narrow" title="Full Calendar" icon-name="standa...
Q: Help me write this in cpp or c plus plus language thank you [Exer A.] SAMPLE DIALOG (OddSum.cpp) ...
A: Here, we are going to write the code to print the sum of first N odd integers. Using while loop and ...
Q: Define "matching in algorithms" using your own words.
A: Introduction: An algorithm, in its widest meaning, is a collection of instructions that tells a com...
Q: Drawing Things Out Consider an array of integers: 2, 4, 5, 9, 11, 13, 14, 16 Draw out how the array ...
A:
Q: P4 Test the system against user and system requirements
A: Lets see the solution in the next steps
Q: ain and range of these functions. Note that in each case, to find the domain, determine the set of e...
A: Given : Find the domain and range of these functions. Note that in each case, to findthe domain, det...
Q: why is the answer c=23? Please explain
A: in the above question variable is already declared with the detail information related to question. ...
Q: Write a program that creates an array of 10 names. Display the names in reverse order. Reverse order...
A: Code: #include <iostream>#include <string> int main(){ std::string colour[10] = { "Blue...
Q: Year 0 Year 1 Year 2 Year 3 Bలe $0 $100 $200 $300 PV of Benefit $0 (1) (2) (3) NPV of all $0 (4) (5)...
A: Answer is given below-
Q: How do you determine what test cases are appropriate for automation?
A: The main capability of computers are the automation, save the time and labour. It can explain the co...
Q: and carry out binary instructions. What exactly is binary's purpos
A: Binary can refer to any of the following:Binary 0 and 11. Binary is a binary system invented by Gott...
Q: PLEASE WRITE IN C++ Implement a program that uses an array based binary tree (sequential tree) that...
A: Answer: This question based on binary search tree and insert the how will work i have shown in the C...
Q: Using a the shopping situation, explain briefly what is all about computer security, highlighting o...
A: A) Using a the shopping situation, explain briefly what is all about computer security, highlighting...
Q: a) Mention what Model-View-Controller represents in an MVC application of your choice with prope ill...
A: The Handwritten answer is below:
Q: Discuss the benefits and drawbacks of using the symbolic math toolbox over MATLAB alone to transform...
A: Introduction: The question is about to Discuss the benefits and drawbacks of using the symbolic math...
Q: In which cases you can transform an else-if statements to switch? Provide an example.
A: Please find the answer and detailed explanation in the following steps.
Q: Write a java program to reverse a user entered array in groups. Take the size of group from the user...
A: Required:- Write a java program to reverse a user-entered array in groups. Take the size of the grou...
Q: tion. Often they indicate sequence-specific binding sites for proteins and other important markers. ...
A: The solution of the following question is: CODE 1: class DNAMOTIF:...
Q: What are the main advantages of virtual memory? And Describe three advantages of virtual memory and ...
A: Virtual memory is a memory space in the operating system which is acts as a main memory to the secon...
Q: 1. Write a console application that uses at least five (5) different methods of Math class. Provide ...
A: Find the required code in Java given as below and output:
Q: Assume you have access to the caches in your department's local DNS servers. Can you provide a metho...
A: Introduction: The local DNS (Domain Naming Registry) server's cache is available. This is the reposi...
Q: ortar business
A: given - Business-to-consumer (B2C) model applies to businesses that sell products or services direct...
Q: d how ca
A: given - What is a distributed denial of service attack, and how can a single individual coordinate o...
I have show my attempt but it is wrong please help me . Answer in python.
Step by step
Solved in 5 steps with 2 images
- Searching for a student’s details and status. from this pseudocode startdeclarationsnum studentNumnum studentTempnum numOfStudentsnum maxOfStudents = 300num timeOfDaynum maxTemp = 38 degreesnum studentNumArray (maxStudents)String studentNameString studentStatusstring nameArray (maxStudents)string QUIT "ZZZ"while numOfStudents < maxStudentswhile quit <> "ZZZ" studentScreening()tempMonitor()timeMonitor()studentArray()numOfStudents = numOfStudents + 1studentSearchDetails()endwhileendwhilestop studentScreening()output "Enter student number"input studentNumoutput "Enter student name"input studentNameoutput " Student Temp"input studentTempoutput "Enter time"input "time"returntempmonitor()if studentTemp >maxTemp = 38 degreesoutput studentStatus = "Not Admitted"status = Not Admittedelsestatus = Admittedoutput studentStatus = "Admitted"end ifreturntimeMonitor()output "Enter Time of Screening"input timeOfDayif timeOfDay > 12status = "Not Admitted"output studentStatus =…Description: The program starts by asking the user to select either login (L) or sign up (S) feature. Once the user selects a feature, it asks him for (Card Number, then PIN) and after filling the required information for that feature, it shows the above menu for other features. Otherwise, it keeps asking for the required information. Each feature has to be designed using a separate function and it might be called by other functions including the main function. The description of the login feature, sign up feature, and the above features are given below: Sign up Feature – def create(): this feature allows new user to create an account and it saves his information in txt. The required information to be asked in this feature as follows: Card Number: user will enter a card number and should be four digits, each digit is unique and it should not be repeated in the 4-digits card number. This feature will keep running until the user enters the required number with same length and…Force Completion This test can be saved and resumed at any polnt until time has expired. The timer will continue to run if you leave the test. Remaining Time: 49 minutes, 11 seconds. * Question Completion Status: A Moving to another question will save this response. « > Question 4 8 points Save Answer (10101)2 xor (10111)2 = (abcde)2 based on the equation calculate ((not b or d) and e). A Moving to another question will save this response. « »
- Annotate following code. def QualityPointCalculator(qualPnts, crdts): if crdts > 0: return qualPnts/crdts return 0def convertGrade(grade): if grade == "A": return 4.00 elif grade == "A-": return 3.70 elif grade == "B+": return 3.30 elif grade == "B": return 3.00 elif grade == "B-": return 2.70 elif grade == "C+": return 2.30 elif grade == "C": return 2.00 elif grade == "C-": return 1.70 elif grade == "D+": return 1.30 elif grade == "D": return 1.00 else: return 0.00 def calcQualPnts(pnts, crdts): return pnts*crdts if __name__ == '__main__': quality_points = [] course_names = [] grades = [] credits = [] final_gpa = 0.0 semester_gpa = 0.0 final_total = 0.0 howMany = 0 print('GRADE & QUALITY NUMERICAL POINTS') choice = input('Would you like to calculate your GPA for a term? Enter Y/N: ') while choice.upper()[0] == 'Y':…Plus x: A first function Assign y with 5 plus x. Ex: If x is 2, then y is 7. If x is 19, then y is 24. Note: Some challenge activities require completing a function (as above), or writing a new function. You can create test calls to the function in the "Code to call your function" window, then press "Run". Try appending this call to that window: IncreaseValue(9) When done writing and testing your function, press "Submit for Assessment", which will automatically apply various test calls to your function.VBA - EXCEL Engine – optional – this indicates the solving method that needs to be used to get to a solution. 1 for the Simplex LP method, 2 for the GRG Nonlinear method, or 3 for the Evolutionary method. This corresponds to the Select a Solving Method dropdown list in the Solver Parameters dialog box EngineDesc – optional -this is an alternate way of selecting the solving method – here you would type the strings “Simplex LP”, “GRG Nonlinear” or “Evolutionary”. This also corresponds to the Select a Solving Method dropdown list in the Solver Parameters dialog box What happens when the code demonstrates: Engine:=1, EngineDesc:="GRG Nonlinear" ?
- Input(): Ask user to provide values for color and fuel. Default values for speed is “0” and state is “stopped” addFuel(): Ask user to provide value for fuel to add. Add that value in fuel (attribute) and return value of total fuel. moving(): Ask user to provide the speed of vehicle and fuel Set the value of speed and reduce the fuel (attribute) according to fuel consumption. And also set the state to “Moving”. stop(): This method will display that “Vehicle is stopped” and sets the value of speed to “0” and state to “Stopped” display(): This method will display the attributes value to output like: “Vehicle is stopped. It has red color. It’s speed is 0.0 and fuel is 2.5 Liter”check_game_over(): as the name suggests, this function should check to see if the game is over (if one side has no stones left in all of its pockets). It takes as an argument the game board and should return True if the game is over and False otherwise.switch_player(): we will allow the players to choose their own names, but for our purposes, it is easier to think of them as number (0 and 1, for indexing purposes). We will display their names to them on the screen, but in the background, we will keep track of them based on their number. This function should take 1 argument, an integer (either 0 or 1) representing the player and should return the opposite integer (1 if 0 is entered and 0 if 1 is entered). This is a simple function, but it will make our code cleaner later. Use your constants! Using Thonny
- 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'Pendant Publishing edits multi-volume manuscripts for many authors. For each volume, they want a label that contains the author’s name, the title of the work, and a volume number in the form Volume 9 of 9. For example, a set of three volumes requires three labels: Volume 1 of 3, Volume 2 of 3, and Volume 3 of 3. Design an application that reads records that contain an author’s name, the title of the work, and the number of volumes. The application must read the records until eof is encountered and produce enough labels for each work. The flowchart must include a call symbol, at the beginning, to redirect the input to the external data file. create a solution algorithm using pseudocode create a flowchart using RAPTORPendant Publishing edits multi-volume manuscripts for many authors. For each volume, they want a label that contains the author’s name, the title of the work, and a volume number in the form Volume 9 of 9. For example, a set of three volumes requires three labels: Volume 1 of 3, Volume 2 of 3, and Volume 3 of 3. Design an application that reads records that contain an author’s name, the title of the work, and the number of volumes. The application must read the records until eof is encountered and produce enough labels for each work. Design a flowchart and psuedocode Pendant Publishing.