means that all services required by the user should be defined Select one: O a. Readable O b. Consistency O c. Completeness d. Bid
Q: means that all services required by the user should be defined Select one: O a. Bid O b. Consistency…
A: I have given an answer in step 2.
Q: QUESTION 1 Which statement is TRUE about a pointer? O A pointer can be referred without…
A: 1 .this means b is a pointer to a 2. Modular
Q: C++ Create a function to keep track of the number of transactions the user of an account number…
A: The below program is solved using C++ taken above information into consideration.
Q: Write a program to perform the following function: • Ask users to enter weight and height • Display…
A: Your C program is given below as you required with an output.
Q: :means dismantle O adjust O service
A: Maintenance service basically means the Routine repair and replacement of the facilities or the…
Q: © ৭:r * For the following script, if n=4 then the result is 24 -12 #include using namespace std;…
A: Correct Answer False is the correct option Explanation:- This is false because n was not declared in…
Q: C++ Exercise A: In this exercise, you are asking the user to set a alpha numeric password for any…
A: #include<iostream> using namespace std; //Define a function to test whether a password is…
Q: What do you mean by user requirement
A: User requirements are typically written when discussing the use cases for a project. The…
Q: 1. The means "continued on the next line". 2. Relational operators take two operands. These two…
A: (1) The Backshlash(\) means "continued on the next line". You cannot split a statement into multiple…
Q: The following code, using semaphores, will result in what kind of problem mutex.acquire();…
A: Given the following code we have to choose what kind of problem in the four options
Q: a. move $t1, $t2 b. bge $t3, $t4, L c. addi $tl, $t2, const
A: ans: 3 lines of pseudo code is given: a. move $t1, $t2 b. bge $t3, $t4 , L c. addi $t1, $t2 const…
Q: Which operator is the comparison operator? a. = O b. O c. COMP O d.
A: Below is the answer.
Q: Organize the following functions into six groups (labeled 1 to 6). Items in the same group should…
A:
Q: A function is a block of code that performs .a specific task True O False
A:
Q: write this program with c++ in (opp) Write program for a Pharmaceutical store; where attributes…
A: Answer in step 2
Q: Question 10 Base on Question #9 an error message will prompt: Error using deconv (line 22) First…
A: The question is to choose the correct option for the given questions.
Q: means that requirements should not have contradictory definitions Select one: O a. Bid O b. Readable…
A: Because the set of statements is logically consistent when it involves no logical contradiction.
Q: I have this condition in sql and php it searches things but when there is space or line break in…
A: THe solution for the above given question is given below:
Q: Which of the following are true about data type? ( Multiple choice can be selected) A It is the…
A: Here have to determine correct option for datatype.
Q: The programmer will design a simple point table lookup and update application. The table contains…
A: The following methods are needed for writing the python program: makeDicFromFile()- This method…
Q: ]: #write prgramm using functions(Fruitful function without paramenters) #Function should do…
A: Take the input of the marks Total marks is 70 then print pass Otherwise print fail
Q: 1: Using the following program, assume that the actual pids of the parent and child are 2600 and…
A:
Q: Using Structures and Files: Create a C++ program for Student record system. dote that: program must…
A: C++ program is C++ language is a direct descendant of C programming language with additional…
Q: To add a new shop keeper, your program should ask some credentials from the user to register a shop…
A: Algorithm: Start the program. Read the choice from user to create, edit or delete shopkeeper. if…
Q: What do you mean by user requirement.
A: To be determine: Describe user requirement
Q: Write the correct placeholder or escape sequence based on the descriptions given below. (i) Display…
A: About float data: It is a data type . it is not an integer. That contains fractional…
Q: films for a given film category. Example: getFilmCount('Action') Put the screenshot of the…
A: Function: delimiter // CREATE PROCEDURE getFilmCount (IN catName CHAR(10), OUT filmCount INT) BEGIN…
Q: Given the following Crow's Foot ERD, create the appropriate business rules. RENT LINE CUSTOMER…
A:
Q: a. Write the SQL statement that will return the following result FName LName Program Students…
A: SELECT FName, LName, PName, (SELECT COUNT(*) FROM Student WHERE Student.PCode = Staff.PCode) AS…
Q: what are indexed variables ?
A: Indexed variables let you stack and align data, eliminating the need to derotate data or to assign…
Q: "Divide and Conquer" is a term often used to describe using functions to break complex programs into…
A: Divide and Conquer strategy is used when developing large applications. in this, large programs are…
Q: Create a scalar-valued function named fnUnpaidInvoiceID that returns the InvoiceID of the earliest…
A: CREATE FUNCTION fnUnpaidInvoiceID()RETURNS INTASBEGINRETURN (SELECT TOP 1 InvoiceIDFROM…
Q: Write a Java program to issue the following SELECT statements and display all the columns retrieved,…
A: Retrieving And Modifying Values From Result Set Explanation From Following Example The following…
Q: program to be written in c 1) Prompt the user for a title for data. Output the title. Ex:…
A: Actually, program is a executable program that runs on a computer.
Q: code for this in C: Create a function that the system can reserve the table for a specific…
A: Solution for given task - For reservation of seats, for loop is used so as to take decision if the…
Q: operator \Write the functions of each of the following MATLAB command or Q1: al symbols: Showes the…
A: The answer is given in the following steps for your reference.
Q: Determine one of the conditions used to test whether a value is in a specified set of values O a.…
A: Question Determine one of the condition used to test whether a values is in a specified set of…
Q: Create the following c functions: - void acceptSubscribers(Subscriber *, int size); // accept all…
A: According to the question, we have to create the c functions for the desired output. Note : we will…
Q: Create a function to insert a new product into an existing order, include the product id, unit…
A: SQL Query to add a product in the list
Q: I'd like a bank records system code using structures and files. Age Project -8 Using structures and…
A: Create a C ++ program for the bank records system.Select Process: Add New Note: The program must be…
Q: means that requirements should not have contradictory definitions Select one: O a. Consistency O b.…
A: Answer: a) Consistency
Q: Draw the above-mentioned sequence in form of a table and see if there is a problem. What this…
A: Lets begin with the sequence of transactions assuming that Tania holds an amount of Rs. 60,000 in…
Q: All functions return, but if exec succeeds, then it does not return. O True! O False!
A: This question comes from Operating System which is a paper of Computer Science. Let's discuss it in…
Q: an intermediate representation of the given expression. How can it be represented using indirect…
A: An intermediate representation of the given expression and using indirect triples
Q: State instance where you need to use a pointer. Explain in clarity why and how it is essential to…
A: Pointer: It is a variable. Variable hold the address of another object in memory. It is essential to…
Q: -means that requirements should not have contradictory definitions Select one: O a. Readable O b.…
A: requirements: In software engineering, requirements are provided either by the client or user. It…
Q: Question 7 (1 point) Saved Multiple Choice, Select One: In C, what is the value of False null Any…
A: NOTE :- As per our Guilelines i can only provide the answers of first three questions asked.…
Q: Discuss about timestamp ordering rule and starvation
A: Given Data:- Discuss about timestamp ordering rule and starvation.
Step by step
Solved in 2 steps
- Which of the following identifier forms is most readable? Support yourdecision.SumOfSalessum_of_salesSUMOFSALESthis is the information that has to be hard-coded: # hard-coded calls jim = User(first_name='Jim', last_name='Bob', user_id=1000, last_login='June 12, 1998', password='password123') jim.describe_user() jim.greet_user() joe = User('Joe', 'Bob', 1001, 'July 4, 2001', 'babygirl') joe.greet_user() joe.describe_user()Given following code and write comments for those code #include <stdio.h>#include <stdbool.h>#include <string.h>#include <ctype.h> #define MAX_PASSWORD_LENGTH 128#define MIN_PASSWORD_LENGTH 10#define ALLOW_PASSPHRASE true#define MIN_PHRASE_LENGTH 20#define OPTIONAL_TESTS_REQUIRED true#define MIN_OPTIONAL_TESTS_TO_PASS 4 bool isStrongPassword(char *password);void printTestResults(char *password, bool isPassphrase, int optionalTestsPassed); int main() { char passwords[][128] = { "password", "mypassword", "thisismypassword", "passssword", "This is my password phrase1", "Tinypw1", "Ireallydontlikehavingtomakeupnewpasswordsallthetime1", "Iloveyouxxxooo1", "Boom**********!", "IHATEPWORDS1!", "ihatepwords1!", "IHatePwords!", "IHatePwords", "my pass phrase does not need to pass tests", "short pass phrase", "x", "x1", "Zxcvbnmnas7",…
- 3.Text:Write a C++ code that requests the client to enter numbers from days then the program will show a table that show how long, weeks and days in that number ... Enter quite a few days :.modifying following code and write comments for each line of codes. #include <stdio.h>#include <stdlib.h>#include <stdbool.h>#include <string.h> #define MAX_PASSWORD_LENGTH 128#define MIN_PASSWORD_LENGTH 10#define ALLOW_PASSPHRASE true#define MIN_PHRASE_LENGTH 20#define OPTIONAL_TESTS_REQUIRED true#define MIN_OPTIONAL_TESTS_TO_PASS 4 bool isStrongPassword(char *password);void printTestResults(char *password, bool isPassphrase, int optionalTestsPassed); int main() { char passwords[][128] = { "password", "mypassword", "thisismypassword", "passssword", "This is my password phrase1", "Tinypw1", "Ireallydontlikehavingtomakeupnewpasswordsallthetime1", "Iloveyouxxxooo1", "Boom**********!", "IHATEPWORDS1!", "ihatepwords1!", "IHatePwords!", "IHatePwords", "my pass phrase does not need to pass tests", "short pass phrase", "x", "x1",…Answer the given question with a proper explanation and step-by-step solution. Write a function called isStrongPassword() in script.js that has a single password parameter. The function should return true only if all the following conditions are true: The password is at least 8 characters long. The password does not contain the string "password". Hint: Use indexOf() to search for "password". The password contains at least one uppercase character. Hint: Call the string method charCodeAt(index) to get the Unicode value of each character in the password. If a character code is between 65 and 90 (the Unicode values for A and Z), then an uppercase character is found. If any of the above conditions are false, isStrongPassword() should return false. Below are example calls to isStrongPassword(): isStrongPassword("Qwerty"); // false - Too short isStrongPassword("passwordQwerty") // false - Contains "password" isStrongPassword("qwerty123") // false - No uppercase characters…
- This is my main.cpp, if there's anything wrong with it in relation to the assignment, please point it out and how to solve it. I can't get my functions.cpp to connect properly to the main.cpp. I need the functions.cpp first, anything else comes second. Thank you very much. main.cpp: #include <iostream> #include <fstream> #include <iomanip> #include <string> #include "functions.cpp" using namespace std; //struct for menuItemType struct menuItemType { string menuItem; double menuPrice; } void getData(menuItemType menuList[]); void showMenu(menuItemType menuList[], int x); void printCheck(menuItemType menuList[], int menuOrder[], int x); int main(); { // Declare functions and variables const int menuItems = 8; menuItemType menuList[menuItems]; int menuOrder[menuItems] = {0}; int orderChoice = 0; bool ordering = true; int count = 0; // Set the menu getData(menuList);…#include <iostream> using namespace std; int main() { string c_name, address, c_spe, c_status; int c_qualification; int c_year_of_passing , c_experience, c_age, offered_s, expected_s, contact_n; cout <<"\" Welcome to Muscat Recruitment Agency\""<<endl<<endl; cout <<"-------------------------------------------"<<endl<<endl; cout<<" \" Personal Data\""<<endl<<endl; cout<<"1-Enter Candidate name:";cin>>c_name; cout<<"2-Enter Candidate age :";cin>>c_age; cout<<"3-Enter Candidate Contact No:";cin>>contact_n; cout<<"4-Enter Candidate address (city):";cin>>address; cout<<endl<<endl; cout<<"\"Education\""<<endl<<endl; cout<<"1-Enter Candidate highest qualifivation (if masters =1 if doctorate=2 if diploma = 3 if bachelors=4): ";cin>>c_qualification; cout<<"2-Enter Candidate specialisation (Engineering /…#include<iostream> using namespace std; void transaction(double&, double, char&, int); int main() { double amount = 100; double balance = 1000; char level = 'B'; int code = 0; cout << "Thank you for doing business with us" << endl; cout << "Amount: " << '$' << amount << endl; cout << "Account balance: " << '$' << balance << endl; cout << "Customer level: " << level << endl; cout << "Transaction code: " << code << endl; transaction(balance, amount, level, code); cout << "Amount: " << '$' << amount << endl; cout << "Account balance: " << '$' << balance << endl; cout << "Customer level: " << level << endl; cout << "Transaction code: " << code << endl; return 0; } void transaction(double& b, double a, char& le, int c) { if (c == 2){b += a;}…
- Please help! in c++ or C please! Implement a simple security software program using symmetric key cryptography Run the (same) program, twice, in this order (note the command line arguments below): programName 1 ‘messageToBeEncrypted’ keyFileName ciphertextFileName - 1 means encryption - compute symmetric key and write the key to file, keyFileName - messageToBeEncrypted’ stuff that needs to be encrypted - compute ciphertext and write ciphertext to file, ciphertextFileName programName 2 keyFileName ciphertextFileName - 2 means decryption - read the key from key file, keyFileName - decrypt content of file, ciphertextFileName, and cout the decrypted text to the terminalString variables userName and className are read from input. Use variables userName, className, and verbDescription to output the following. End with a newline. Ex: If the input is Eli Databases, then the output is: Eli is studying Databases. #include <iostream> #include <string> using namespace std; int main() { string userName; string className; string verbDescription = "is studying"; cin >> userName; cin >> className; /* Your code goes here */ return 0; }Write a stored procedure named displayCountryMessage(). The displayCountryMessage () should receive one input argument for the country name and then based on that input argument, display a short message and the name of the country. Otherwise, if the country does not exist in the country table, then the procedure should display an appropriate message. For example, if I call the displayCountryMessage() procedure and pass it “France”, then it will display the message “France exists in the Country table”. If I call the displayCountryMessage()procedure and pas it “AAAAA”, then it will display the message “AAAAA does NOT exist in the Country table”.