argument: No dog is slimy. Cookie is a dog.
Q: Give CFGS for the following languages: L. = {0"1™2k | n>m+k; m, k > 0} ,
A: Context Free Grammar: A grammar contain a context free grammar then it must be a context free langua...
Q: You have to take two temperatures from the user & print true if one is less than O and the other is ...
A: Required:- You have to take two temperatures from the user & print true if one is less than 0 an...
Q: Explain why you would wish to use lightweight graphics on certain Web sites while using highly detai...
A: The use of graphics in web pages depending upon the scenario has been explained briefly below
Q: Excel by Microsoft When is it permissible to remove a whole row or column rather than only the da...
A: Intro Microsoft Excel When is it appropriate to delete an entire row or column, as opposed to d...
Q: Systems analysts and programmers, according to the information in Chapter 6, turn objects into modul...
A: Introduction: Modular design is a technique for analyzing complicated systems. The interface is segm...
Q: What is the distinction between call by reference and call by value in terms of programming? Func...
A: Intro the above question is about the distinction between call by reference and call by value in ter...
Q: Many different approaches may be used to get application software. Here are a few examples. In order...
A: Introduction: An application is a piece of computer software that assists humans in doing tasks. Dep...
Q: Create a function that removes the correct members from the input. Use the following examples to unl...
A: Process : Firstly we will take the string as an function arguments then we will split the string wit...
Q: 9. Write an assembly code to implement the following function on ARM architecture. 2n * R2 A =
A: Input : Input R Input b Output : Value of A
Q: Perform the following signed number base conversions: 10.103 => 10
A: The correct answer along with the explanation is given below:
Q: Create a task that takes a series of words and returns the highest score of goals. Each letter of th...
A: Step 1 : Start Step 2 : Define a method wordRank() to compute the maximum scoring word and return th...
Q: 9. Write an assembly code to implement the following function on ARM architecture. 2n * R2 A =
A: Assembly language is a low-level programming language. It is written in machine language that is not...
Q: Write a function called get_palindromes () that takes a list of words as input. The function should ...
A: Please refer below commented code and output screenshot: def get_palindromes(list_word): ans={}...
Q: Make 5 intelligent questions about each chart along with the answers (10 in total)
A: The pie chart and bar graph are not labeled properly. It is not clearly mentioned what are these col...
Q: iv. Briefly describe with diagram the three types of switching fabrics? Fabric type Diagram Descript...
A: According to the Bartelby guideline we are suppose to answer only one question at a time. Kindly rep...
Q: What table might the database need to help determine the balance field in the Patient table? Would y...
A: The database is a collection of interrelated data. In the Sports physical therapy database, there ar...
Q: Compile the following C code snippet with optimization level O0 and O1 using armv7-a clang 11.0.1 co...
A: Explanation: Some changes must be made to the code for performing optimization. The main function s...
Q: Any language that can be accepted by a transition graph can also be accepted by a transition graph w...
A: The answer is given in the below step
Q: DNS User's browser CDN 10 Load Balancer Cloud storage 9b Copy of data 9a Database Web app servers 9c...
A: The given modern architecture of web is called web application architecture. The web application arc...
Q: What are the most prevalent multimedia file formats
A: Answer is given below-
Q: What are some of the most prevalent tools used in mobile app development?
A: Introduction: Surpasses Xamarin for developing native apps. Because it's a Microsoft product, you'll...
Q: Identify the various security measures utilised by your business or another organisation with which ...
A: The best practices for database security is: Physically Secure the database: Use authorization to a...
Q: Create a function that takes a mathematical expression in prefix notation as a string and evaluates ...
A: Algorithm EVALUATE_PREFIX(STRING) Step 1: Put a pointer P at the end of the end Step 2: If characte...
Q: Create a task that takes a series of words and returns the highest score of goals. Each letter of th...
A: Coded using Java Script.
Q: Write a Java Program to take a string from the user , take the first 2 chars and return the string w...
A: ALGORITHM:- 1. Take input for the string. 2. If size of string is less than 2 then show error messag...
Q: Is it better to have virtual functions that are statically or dynamically bound?
A: Introduction the question is about Is it better to have virtual functions that are statically or dyn...
Q: What are the requirements for computer hardware to work?
A: Introduction: When we speak of computer hardware, we are referring to the actual components that all...
Q: Determine the functionality of this python code: https://pastebin.com/vuEdghU6
A: -https://pastebin.com/vuEdghU6 is use to paste. -this is number one paste tool. -pastebin is a websi...
Q: Assume you have access to the caches in your department's local DNS servers. Can you provide a metho...
A: Introduction Assume you have access to the caches in your department's local DNS servers. Can you ...
Q: 4. Write the business rules against the following E-R diagram. movie_cast act_id mov_id integer inte...
A: I'm providing the answer to above question. I hope this will meet your requirements.....
Q: in which occasions is the third conditional used?
A: Answer is given below-
Q: What is the theta notation of f (n) +g (n)? f (n) = 0 (1) 9 (n) = e (n') O (n²) e (n) O 0 (n) O e (n...
A: Given theta functions are f(n) = Theta(1) g(n) = Theta(n²)
Q: Explain how a specific example of a system is a computer-based information system designed to handle...
A: Intro DEFINITION OF INFORMATION SYSTEM – ” An information system is a set of interrelated components...
Q: Computer science Select one architectural style and apply it to a system of your choosing.
A: Introduction: A pattern structure (architectural pattern) is a conventional, repeatable solution to ...
Q: IN PYTHON WAP to input a string s from the user and check whether the string ends with "thon" or not...
A: Here, we are going to check a user entered string s ends with "thon" or not. Using endswith() method...
Q: In the context of a socket, what is the function of a port?
A: Introduction: A socket is one end of a two-way communication interface between two networked program...
Q: Compare and contrast the words dynamic and materialised views.
A: INTRODUCTION: Here we need to write the difference between dynamic and materialized view.
Q: What exactly is a stored procedure, and how does it work?
A: Introduction STORED PROCEDURE : is prepared in SQL code which will be save so that it can be reuse...
Q: Let f : A → B be a 1-1 correspondence. Then If gf = 1a, we have g = f-'. %3D If fh = 1B, we have h =...
A:
Q: Computer science Give an overview of the compiler and discuss the testability tip.
A: Introduction: The capacity to conduct an experiment to evaluate a hypothesis or theory is referred...
Q: IN ΡYTHON WAP to input a string s from the user and check whether the string ends with "thon" or not...
A: The above question that is given is answered in below step i write the code in python and shows the...
Q: What are the distinctions between Direct Memory Access (DMA) and Sequential Memory Access (SMA)?
A: Intro EXPLANATION: Direct memory access is basically the technique in which the hardware component...
Q: 1. Ask how many pasties are being purchased. Use a loop to ask for the flavor and price of each past...
A: while(True): flav_list = [] flav_price = [] print("Welcome to Andy's Cornish Pasties!") ...
Q: Question: - JOY is a CS (B.TECH) student and now has days she wants to work on marketing. AND you ar...
A: Used to perform large tasks (think thousands or millions of records!) That will exceed the normal pr...
Q: and 2AB-X 0 tmen the matrix Xis
A: We need to answer:
Q: What flaws have been uncovered in the router layer 2 protocol? Why does an ICMP request in a PPP enc...
A: Introduction: The primary function of a router is to route packets to their intended destinations. T...
Q: Create a task that takes a series of words and returns the highest score of goals. Each letter of th...
A: Algorithm - Created a Method with argument. use the logic in the below argument. for(var ndx =...
Q: Pasty1.py You do NOT need to use functions or a restart Feature. You DO need comments! Welcome to An...
A: I give the code in Python along with output and code screenshot
Q: What exactly is a problem domain?
A: Intro Problem Domain: It refers to all the information available which defines a problem and the con...
Q: What is the definition of game theory? What role does it play in AI?
A: Introduction: Game theory is a mathematical theory that deals with the strategic interactions of int...
Step by step
Solved in 2 steps with 1 images
- Q No. 2: Draw a Use Case diagram for "The Pizza Ordering System". (Hint – correct > or > relationships will attract additional marks). The Pizza Ordering System The Pizza Ordering System allows the user of a web browser to order pizza for home delivery. To place an order, a shopper searches to find items to purchase, adds items one at a time to a shopping cart, and possibly searches again for more items. When all items have been chosen, the shopper provides a delivery address. If not paying with cash, the shopper also provides credit card information. The system has an option for shoppers to register with the pizza shop. They can then save their name and address information, so that they do not have to enter this information every time that they place an order.Select the correct statements about the following sequence diagram: :Specific Flight cancelBooking :Booking :PassengerRole cancel deleteFromItinerary deleteFromPassengerList A. "deleteFrom Passenger List" is a result the message "cancel." B. Booking object's lifetime ends after issuing the "deleteFrom PassengerList" message. C. Actor initiates the interaction by passing the "cancelBooking" message. D. Specific Flight, Booking and Passenger Role objects are already existing when the interaction starts.Age calculation. You must use the object oriented programming for this problem. (1) Create a class called Date that Includes three pieces of information as data members—a month (type int), a day (type int) and a year (type int). Have a constructor with three parameters to initialize the three data members. Call setters inside to initialize each attribute. Provide a set and a get method for each data member. Assume that the values provided for the year and day are correct, but ensure that the month value is in the range 1–12; if it isn’t, set the month to 1. Provide a member function displayDate that displays the month, day and year separated by forward slashes (/). Provide a member function called calculateAge with three parameters that indicate a future date (represented as month, date, and year). Calculate one’s age based on one’s birth date and this future date. Inside the method simply print out one’s age in the format of how many years and how many days. Note that here you are…
- Write the code for the following UML diagram. Vehicle color:Sting -speeddouble -fuel:double *state: String +input):vold +addFuel): double moving0void +stop(:void +display0:void 1. Input(): Ask user to provide values for color and fuel. Default values for speed is "0" and state is "stopped" 2. addFuel0: Ask user to provide value for fuel to add. Add that value in fuel (attribute) and return value of total fuel. 3. moving0: Ask user to provide the speed of vehicle and fuel consumption. Set the value of speed and reduce the fuel (attribute) according to fuel consumption. And also set the state to "Moving". 4. stop(): This method will display that "Vehicle is stopped" and sets the value of speed to "0" and state to "Stopped" 5. 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"For this assignment, you will be building a class, creating objects, doing comparisons and using nested control statements. You need to remember what you have learned in class, lab, books and your assignments. Be sure to refer to them when you need to. There are 2 parts to this assignment. In the first part, you are going to be given a problem and you will then need to create a structure, write algorithms and a flow chart to solve it. In the second part, you’ll be turning this into a java program. So let’s get started! Part 1: Your haunted house adventure: The user always starts the game at the front door and must immediately decide where they want to go. Your movement constraints are as follows: -From the front door, the user must choose between going into the living room, dining room or up the stairs. -To get from one room to the next, there must be a door. That means that to get to some rooms, the user must go through other rooms. See the above diagram for more details. -If the user…To declare a variable, "type" alone is not enough. Every variable is distinguished by its data type and a set of additional characteristics. So how can we make use of this idea, which allows us to describe any variable's properties?
- Wire is used in the following applications. For each application, prepare a list of wire characteristics that are relevant, (1) create class diagrams with attributes (2) create associate objects with values for each class. Use the following wire applications: Each wire application should have a separate diagram layout. a. Selecting wire for a transatlantic cable b. Designing the electrical system for an airplane c. Hanging a bird feeder from a tree d. Designing a piano e. Designing the filament for a light bulbSaved Which of the following statements about UML class diagrams is false? Question 3 options: A) Like operations, the UML models constructors in the third compartment of a class diagram. B) It's customary to list constructors before other operations in the third compartment. C) To distinguish a constructor from the class's operations, the UML requires that the word "constructor" be enclosed in guillemets and placed before the constructor's name. D) All of these are true.All the following statements are correct EXCEPT Models must be exactly like what is being modeled. Models communicate information. Models can be constructed. Models can be drawings with labels.
- PART I: Given the following UML diagram. Answer the following questions PCRTest - newNum: int //-- auto-increment patientName: String previousResult: int //-- should be less than 35 - currentResult: int //-- should be less than 35 + PCRTest (patientName: String, previousResult: int) +setcurrentResult (int r):void +getcurrentResult () : int +isRecovered () : boolean +tostring () : String + GenerateCode (): String //-- explained in part III Question PCRTest as weir as the constructor and the setter and getter of the currentResult. Note that: • The attribute newNum is incremented when a PCRTest object is created. It represents the total ): Implement all the data fields represented in the UML diagram of the class number of tests. • The constructor accepts the patient's name and the previous test result. The value of previousResult and currentResult should be between 0 and 35. • The method setcurrentResult(int r) assigns the value r to the currentResult attribute. The method…Instructor note: Important Coding Guidelines: Use comments, and whitespaces around operators and assignments. Use line breaks and indent your code. Use naming conventions for variables, functions, methods, and more. This makes it easier to understand the code. Write simple code and do not over complicate the logic. Code exhibits simplicity when it’s well organized, logically minimal, and easily readable. A pedometer treats walking 1 step as walking 2.5 feet. Define a method named feetToSteps that takes a double as a parameter, representing the number of feet walked, and returns an integer that represents the number of steps walked. Then, write a main program that reads the number of feet walked as an input, calls method feetToSteps() with the input as an argument, and outputs the number of steps. Use floating-point arithmetic to perform the conversion. Ex: If the input is: 150.5 the output is: 60 The program must define and call a method:public static int feetToSteps(double…The use of encapsulation is fundamental to object-oriented programming. A developer who makes use of an encapsulated property has no insight into its internal workings. He or she can only utilize the public setter and getter methods. In what ways does the Bible encapsulate or conceal information? Explain encapsulation or information hiding by providing an example or two. 300-350 words. Any references you provide should adhere to the APA format. You must provide a scholarly recommendation.