Extract the addresses from this string: const str = "123 Redding Dr. 1560 Knoxville Ave. 3 // ["123 Redding Dr.", "1560 Knoxville Ave.", "303 Write the regular expression that matches all street addresses. All street addresses begin with a number. Use the character class \d in your expression.
Q: 1.What is the result when the following SQL query is executed on a table named products? Choose the…
A: Answer to these problems are AS here in 1 question we are given that there is table name products…
Q: What are UML diagrams? Can describe several typical diagrams.
A: UML Standards for Unified Modeling Language which is used in software engineering it is a rich…
Q: Compare SDLC lean models with the traditional Waterfall SDLC model in terms of their basic…
A: The Software Development Life Cycle (SDLC) is a structured process that enables the production of…
Q: Question 3 --/0 Write a program that allows to modify an integer x between 50 and 100 to x+1 if its…
A: In question 3, we have to take the marks of the student from the user as input (between 0-100), and…
Q: What is formal specification language?
A: Solution: Given, What is formal specification language.
Q: Which data model(s) introduced the use of a data definition language? Network Hierarchical…
A: A data definition language (DDL) is a computer language used to create and modify the structure of…
Q: Q8: A signal with 200 milliwatts power passes through 10 devices, each with an average noise of 2…
A: SNR: It is the signal to noise and it is a measure that is used in the engineering and in science…
Q: 10.5 LAB: Count probations (EO) Students are put on probation if their GPA is below 2.0. Complete…
A: The updated student class is given below:
Q: Assume a top-level module that implements the arithmetic unit shown in the figure below. The…
A: Below I have provided the solution to the given question
Q: What is different in mobile forensics versus well-established static computer forensics?
A: Please check the solution below
Q: can u do it without using string
A: Please find the answer below :
Q: Q1. A non-periodic composite signal contains frequencies from 5 to 40 KHz. The peak amplitude is 10…
A: with regard to it regarding to it, The frequency range of the non-periodic composite signal is 5 to…
Q: We know using a longer key for symmetric encryption is more secure than using a shorter key. For…
A: The question is to explain why we don’t use even longer keys for stronger encryption.
Q: Discuss Requirements of a proto typing CASE tool.
A: Introduction Discuss Requirements of a proto typing CASE tool.
Q: You may use a software to do calculations but you have to write down the details. The correspondence…
A: Given that, Cipher text= NUMBER Matrix= 21097
Q: Discuss software requirements validation.
A:
Q: 2. Give five (5) examples of Appropriate technology and give its advantages and disadvantages.
A: Answer: We need to write what will be the Advantage and Dis Advantage of the using the Appropriate…
Q: You are given an array of n integers. Write a java method that splitsthe numbers of the array into…
A: Java Code:- import java.util.*; import java.lang.*; import java.io.*; class A { static int…
Q: I don't understand why CEO is an entity? For me, we link company to employee by the relation…
A: Yes, below i explain Why CEO not an entity,…
Q: five (5) examples of Emerging technology and vantages.
A: Emerging technology: Emerging technologies will be technologies whose turn of events, pragmatic…
Q: Which type of DNS name server is operated by a single company, and determines how the DNS names…
A: Here is explanation regarding the domain name:
Q: Java programming 1. a) Write a Java code which gives the value of (1+(1/n))^n for n= 2,4,...,2^14.…
A: Program a public class ProgramA { public static void main(String args[]) { double value = 0;…
Q: Consider the following code: int x = 0x2020; int *y = &x; int **z = &y; *y += 8; int w = **z;…
A: z is a double ointer which stores the address of a pointer y, z stores the address of y
Q: You are given an array of n integers. Write a java method that splitsthe numbers of the array into-…
A: Here is the java program of the above problem. See below steps.
Q: What value is in w after the code above runs? O A. 0x2000 B. 0x2008 O C. 0x2010 D. 0x2018 O E.…
A: Amswer: F.0*2028
Q: Discuss what is CASE tool and its scope.
A:
Q: What are salient features of ISO 9001 certification.
A:
Q: 2. Sort the functions T(n) from slowest to fastest from the perspective of running time. ein(n) /n,…
A: In this question we have been given some functions and we need to order them according to their…
Q: Create a small script to use raw_input() built-in function to take a string input from the user,…
A: raw_input function: The raw_input method in Python is used to get user-provided data. To instruct…
Q: q9c- Context- Alice and Bob are members of the same Kerberos realm. They are both currently logged…
A: Given question: When Bob receives the service ticket from Alice, why should he trust her and what…
Q: Discuss software management responsibility.
A:
Q: Parsing and Ambiguity 1) Let G be the context-free grammar with productions S -> aSaa | B, B ->…
A: According to the information given:- We have to draw a parse tree for a3b3c3a6 and define whether G…
Q: Consider a one-way authentication technique based on asymmetric encryption: A B: IDA B-A: E(PUR₂)…
A:
Q: C++ 10.17 Forms often allow a user to enter an integer. Write a program that takes in a string…
A: #include<iostream> #include<string>…
Q: eed help creating a conceptual model for Turo, the car rental/sharing company. I also would very…
A: Solution- The conceptual model for Turo, the car rental/sharing company is shown below The entities…
Q: Assume the availability of an existing class, ICalculator , that models an integer arithmetic…
A: PLS find the attcahed solution
Q: SyntaxError: invalid syntax (, line 56)
A: In this question we need to remove the error of the provided code for solution in previous question…
Q: .You are given an array of integers. The size (n) of the array is greater than or equal to 10. You…
A: The program is written in Python. Check the program screenshot for the correct indentation. Please…
Q: 1) Build a matrix called A consists of multidimensional arrays. This matrix contains three layers;…
A: Here is the matlab code of the above problem. See below steps.
Q: Find the Hexadecimal Representation for each of the following Binary numbers 1. 10101101 2. 00100111…
A: Solution Hexadecimal Number In hexadecimal number system, Numbers are represented in base 16. In…
Q: write operations of fuzzy set.
A:
Q: Which is an advantage of both the command line and the GUI? We can use any parameters without…
A: In this question we need to choose the advantage that is applicable to both Command Line Interface…
Q: Create a Matlab program that reads the value of an integer n and displays the abs
A: I have written code below:
Q: Hello, why on the diagram there are no associations or cardinalities?
A: All the other information is given in the previous answer. The modified diagram is given in step 2.
Q: Write a C++ program for the following. In each plastic container of Pez candy, the colors are stored…
A: Answer the above program are as follows
Q: Question 3 Students are required to create 5-character long passwords to access the library. The…
A: Q:: 3)
Q: DISCUSS REQUIREMENTS ELICITATION ANALYSIS.
A: A computer is a digital electronic machine that can be programmed to automatically perform a series…
Q: System Requirements Reservations and Guest module: ● ● The receptionist should be able to enter the…
A: The Code Given Below Is For The Customer Info Module package I3.UI; import…
Q: Q2: What are the pros and cons of cloud service?
A:
Q: In the original sample solution, a customer could only have one address. Review the finalized sample…
A: The question has been answered in step2
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images
- For each expression in the left-hand column, indicate its value in the right-hand column. Be sure to list a constant of appropriate type (e.g., 7.0 rather than 7 for a double, Strings in "quotes"). Expression Value (int) 9.0/2 23 % 5 - (16 % 10) 1.5 * 2 - 6 / 4 “1”+1 (2+3)+”Hello”+4+2*3 23456/100%10 “a”+4-2#include <iostream> using namespace std; int main() { string c_name ; string car_n; int n, member_n , total ,d; char choice; cout<< "Muscat Auto Workshop"<<endl<<endl; cout<< "Enter customer name : ";cin>>c_name; cout<<" Enter car plate number : ";cin>>car_n; cout<<" choice the required service "<<endl; cout<<" 1-Basic Tuning : 50 OMR "<<endl; cout<<" 2-Software Re-installation : 60 OMR "<<endl; cout<<" 3-Parts Replacement : 100 OMR"<<endl; cout<<" 4-Body Paint : 120 OMR"<<endl; cin>>n; if(n==1) { cout<<" charges before discout = 50 OMR "<<endl; } else if ( n==2) { cout <<" charges before discount = 60 OMR "<<endl; }else if (n==3) { cout<<" charges before discount = 100 OMR "<<endl; }else if (n==4 ) { cout<<" charges before discount = 120 OMR"<<endl; } cout<<" Do you… The fields below repeat for each customer: o Customer name (String)o Customer ID (numeric integer) o Bill balance (numeric)o EmailAddress (String)o Tax liability (numeric or String) The customers served by the office supply store are of two types: tax-exempt or non-tax- exempt. For a tax-exempt customer, the tax liability field on the file is the reason for the tax exemptions: education, non-profit, government, other (String). For a non-tax exempt customer, the tax liability field is the percent of tax that the customer will pay (numeric) based on the state where the customer’s business resides. Program requirements: From the information provided, write a solution that includes the following: A suitable inheritance hierarchy which represents the customers serviced by the office supply company. It is up to you how to design the inheritance hierarchy. I suggest a Customer class and appropriate subclasses.. For all classes include the following: o Instance variables o…
- Please solve the following problem by using the following code- #include <iostream>#include <string>using namespace std; class Instructor{private: string firstName; string lastName; string office; // Office Room Number e.g., N28A-L303 public: Instructor(string firstName, string lastName, string office) { this->firstName = firstName; this->lastName = lastName; this->office = office; } void print() const { cout << "First name: " << firstName << endl; cout << "Last name: " << lastName << endl; cout << "Office number: " << office << endl; }}; class TextBook{private: string title; // Book title string author; // Author name string publisher; // Publisher namepublic: TextBook(string title, string author, string publisher) { this->title = title; this->author = author; this->publisher = publisher;…I keep getting these errors when I run the code below: Code is in C++ ____animal.cpp_______ #include "animal.h"Animal::Animal(){}Animal::Animal(string name,string gender, string color, double weight){this->name = name;this->gender = gender;this->color = color;this->weight = weight;}void Animal::PrintInfo(){cout<<"Name : "<<name<<endl;cout<<"Gender : "<<gender<<endl;cout<<"Color : "<<color<<endl;cout<<"Weight : "<<weight<<endl;} __animal.h___ #ifndef __ANIMAL_H#define __ANIMAL_H#include<iostream>using namespace std;class Animal{private:double weight;string name;string gender;string color;public:Animal();Animal(string,string , string, double);virtual void PrintInfo();};#endif ___horse.h___ #ifndef __HORSE_H#define __HORSE_H#include "animal.h" class Horse : public Animal{private:string breed;int id;string comments;public:Horse();Horse(string,double,string,string,int,string,string);void…please code in pythonis_phone_num: This Boolean function takes a string and returns True if it is in the formatddd-ddd-dddd, where d is a digit, False otherwise. Example calls:is_phone_num('123-456-7890') --> Trueis_phone_num('123-4556-7890') --> Falseis_phone_num('(123)456-7890') --> False
- Fix the errors and find the lowest marks entered by the user struct std{string name;int reg_no;int marks[5];}s1;getline(cin,s1.name);cin>>s1.reg_no;for(int i =0;i<5;i++)cin>>s1.marks[i]C ++ Using the following code: enum GradeLevel { FRESHMAN, SOPHMORE, JUNIOR, SENIOR }; struct Student { string first; string middle; string last; GradeLevel year; float GPA; }; Student A0012; // Student ID A0012 Student A0013; // Student ID A0013 A0012.first = "Bjarne"; A0012.last = "Stroustrup"; A0012.GPA = 3.56; A0013 = A0012; A0012.year = SENIOR; A0013.middle = "C++"; A0013.year = static_cast<GradeLevels>(A0012.year - 2); A0013.GPA = floor(A0012.GPA); // floor() rounds down to whole number A0012.middle = A0013.middle.at(0) + "."; What are the contents of the Student variables after this code has executed? Use the chart provided. Who is Bjarne Stroustrup?Write a statement that converts the following string values to the decimaldata type using the decimal.Parse method. grandTotal
- This is the question and needs to be written in java: Write an application that accepts three unique Strings from the user and, without regard to case, appropriately displays either You did not enter the words in alphabetical order or You entered the strings in alphabetical order depending on whether the Strings were entered in alphabetical order.Write a statement that converts the following string values to the decimaldata type using the decimal.Parse method. "50"In Python Write a program that reads a string from the user containing a date in the form mm/dd/yyy. it should print the date in the format March 12, 2018.