• Prints on the screen your name, your student ID and your section number. For example, if your name is "xxx yyy",your ID is 42364 and your section is F2, the main function should print "ID_42364_xxx_yyy_section_F2" Write By c programing Id: 53632 Section:-F1,0 Initializes a variable Y with your student ID. if your ID is 42364, the value of Y will be 42364. • Using a FOR loop, prompt the user to enter the salary of Y employees. • Calculates and prints the average salary of all employees with salary greater than 1100
Q: Write the - (a*b)+(c + d) - (a + b +c+d). quadruple for the expression,
A: Expression -(a*b)+(c + d)-(a+b+c+d)
Q: Find out the value of R7 P[i] is a price of item whose lenght is i meters and array of prices Array…
A: answer:
Q: What is the microkernel design philosophy of the operating system? Is this method distinct from the…
A: Introduction: The microkernel operating system is based on the concept of minimising the role of the…
Q: Which scheduling strategy minimizes the execution-time at fixed cost of resources? O ALAP ASAP O…
A: As you have asked multiple question, we are answering first please send again if you want the…
Q: In Java, which Scanner method reads only one word?
A: The question has been answered in step2
Q: In this programming problem you'll code up Dijkstra's shortest-path algorithm. Download the…
A: - : Algorithm implementation : - This algorithm is relatively simple. Follow the course and…
Q: The command Drop Cap is available in
A: Introduction: A drop cap is a feature of Microsoft 365. Microsoft 365 is the efficient cloud…
Q: Using office clipboard, you can .. A. Only store one item at a time in the clipboard B. Store up…
A: A. office clipboard has multiple slots to store the content B. office clipboard store upto 24…
Q: 19. At present, the LAN used basically adopts star topology. a. Right b. Wrong 20. TCP/IP protocol…
A: Answer 1: Right, because LAN also adopts star, ring and bus topology. about star topology: in this…
Q: What are the benefits and downsides of dispersed data processing that should be considered while…
A: The range is the difference between the data's largest and smallest observations. The primary…
Q: Create a class with data members name, rollno and cgpa. Enter the detail for 5 student. Create an…
A: The above problem is being solved using C++ as inline function is a core concept of C++. Inline…
Q: Consider the following instance of relation Sells(book_title, library, price): book_title The grand…
A: Answer: Books sold by more than one library
Q: Write a main function that performs the following: • Prompts user to enter 2 values A and B. • If…
A: Write a main function that performs the following: Prompts user to enter 2 values A and B. If the…
Q: What have we learnt about web programming and design up to this point?
A: What have we learnt about web programming and design up to this point answer in below step
Q: program provides a simple example of Spliterator. Notice that the program demonstrates both…
A: The Answer start from step-2.
Q: The value of the variable A at the end of the loop is 1. int A =7; while (A>= 3) A -= 2; Select one:…
A: Give program is, int A=7; while (A>=3) A -= 2; Here the variable A is initialised to 7 and the…
Q: Provide a comprehensive explanation of each of the following terms in the context of Enterprise-wide…
A: Answer:- In the network, communication is done between system hosts by following communication…
Q: Please translate the following English sentence into a sentence of FOL: use quantifiers "Lucia owns…
A: Quantifiers are a language of fundamental computers that helps in the generation of quantification.…
Q: Provide a schematic and input string for each version of a Turing machine.
A: Turing machine variations include:Two-Way Infinite Tape Turing Machine: Two-way infinite tape of…
Q: Requested resources are made available to those who have reached a standstill as a result of…
A: Introduction: A deadlock happens when two computer programmes that share the same resource get…
Q: The StarHub IT Solution Sdn. Bhd. is in the planning to explore new product and services related to…
A: The data structure involved in this real-life scenario is stack. It is a linear data…
Q: Given AVL Tree in Figure 1. Simulate nodes in the tree by using the given insert operations* +25,…
A: We need to insert the given values in the AVL tree.
Q: Write the quadruple for the expression, - (a*b)+(c + d) - (a+b+c+d).
A: The quadruple is nothing but the representation of the given expression . Hence we can do that…
Q: 19. At present, the LAN used basically adopts star topology. a. Right b. Wrong 20. TCP/IP protocol…
A: At present, the LAN used basically adopts star topology.a. Rightb. Wrong TCP/IP protocol is divided…
Q: wrong - no outputs. a lot of debbugs
A: Here is my code : /* probing table implementation of hash table. */ public class…
Q: What can be done to reduce the risk of identity theft?
A: ANSWER IS GIVEN BELOW:
Q: Explain primary and backup protection
A: The primary protection, also known as the main protection, is the first line of defence, and it is…
Q: The control environment includes the governance and management function of an organisation. It…
A: The question has been answered in step2
Q: Topic: C Programming - Text Files Please remember that 1KB is equal to 1024 bytes. Type your…
A: End of the File or EOF is the position of the file at which a specific file end. EOF of a file can…
Q: Ques-1 explain The Bagging algorithm and it's steps to perform it. I
A: Bootstrap aggregating is also known as the bagging which is the machine learning ensemble meta…
Q: What is Cook's Theorem Explain it?
A: Cook's theorem: The Boolean satisfiability issue is NP-complete, according to the Cook-Levin…
Q: Is it feasible for two network interfaces with the same MAC address to communicate with each other?…
A: In a computer network, there is a requirement for communication which is fulfilled by an addressing…
Q: What are the most prevalent issues with loT device deployment integration? How would you define the…
A: Introduction: Challenges1) Compatibility and interoperability of various IoT systems:According to…
Q: What is the value of the variable ss after the following code is executed? int x[ 7 ] =…
A: #include <iostream> using namespace std; int main(){ int x[7] = {5,10,3, 0, -10, 4}; int…
Q: Please provide three examples of computer and information system applications in your daily life.
A: Introduction: A computer information system is a network of people and computers that cycles or…
Q: What are the reasons for the organization's desire to implement big data technologies?
A: Introduction: Hadoop and NoSQL are only two examples of the big data technologies that are used in…
Q: In a situation of chaos, order and structure cannot be created. What specific examples do you have…
A: It is projected that a wide range of system configurations would experience an intermediate state…
Q: Write the - (a*b)+(c + d) - (a + b +c+d). quadruple for the expression,
A: Quadruple is the structure which contains at most of four fields i.e. operator, Arugument1, Argument…
Q: There is no clear distinction between the Internet and the telephone network.
A: Introduction: The communication between end to end systems may be established using the Internet and…
Q: What are some of the advantages and disadvantages of using dynamic programming instead of more…
A: Dynamic programming is a programming approach to reduce time complexity of recursion problems.…
Q: Provide a schematic and input string for each version of a Turing machine.
A: Introduction Turing machines are basic dynamic computational gadgets expected to assist with…
Q: if the two operands in the ineqality (!=) operator are not equal, the returned value is true else…
A: The question has been answered in step2
Q: How the school bus monitoring initiative will be impacted by legal issues
A: Beginning: The impact of the school bus monitoring initiative on the law From a data security…
Q: How can you recognise the difference between the four most common types of information systems…
A: Let's see the solution in the next steps
Q: Input: Decimal Number (n) Output: Binary String (bString) equivalent to the Decimal Number n…
A: The number system is a technique that is used to represent a number and can work with them. There…
Q: Which two IPv4 and IPv6 features can you name?
A: Introduction: The magnitude of IP addresses the fundamental like difference a between IPv4 and…
Q: Is it possible to identify the difference between an IP address and a hostname? How many bits and…
A: GIVEN: How can a MAC address be distinguished from a hardware address? What is the length of a MAC…
Q: Convert below postfix expression to prefix expression using stack abcd+*/z-
A: Conversion of postfix expression to prefix expression. Algorithm: Scanned the postfix expression…
Q: Due to the lack of viable wireless networks at the air interface between phones, antennas, and cell…
A: Viable wireless networks: A network feasibility study is an examination of your broadband project…
Q: The array a[] contains 10 integers. Starting from the second element in a[ ], the difference between…
A: Program: #include<stdio.h> int main() {int a[] = {1, 2, 3, 6, 4, 7, 8, 8, 10, 16}; //defining…
Step by step
Solved in 4 steps with 2 images
- Please Write a function to validate if the numbers were 1 through 9 if there is a name if email is valid if cell phone i valid if Card number, EXP date and CVV is valid or not if the address is valid or not Below is the html please make the java code as simple as posible as if it was for beginers please. also when ever its false can you make the text print on the bottem for example look at the picture <div class="g"> <div class="n"> <div class="r"> <img class="a" src="#"> <div class="p">+</div> <form id="result" action="#"> <input type="text" id="number" placeholder="Choose from item 1-9"> <input type="text" id="name" placeholder="Name"> <input type="email" emailplaceholder="E-mail@gmial.com" id="email"> <input id="Phonenumber" type="text" placeholder="Phone number">…Create a function that will validate if given parameters are valid geographical coordinates.Valid coordinates look like the following: "23.32353342, -32.543534534". The return value should be either true or false.Latitude (which is first float) can be between 0 and 90, positive or negative. Longitude (which is second float) can be between 0 and 180, positive or negative.Coordinates can only contain digits, or one of the following symbols (including space after comma) -, .There should be no space between the minus "-" sign and the digit after it.Here are some valid coordinates:-23, 2543.91343345, 1434, -3And some invalid ones:23.234, - 23.4234N23.43345, E32.64576.325624, 43.34345.3450, 1,2"""# I'll be adding my attempt as well as my friend's solution (took us ~ 1 hour) # my attempt.I'm trying to create a function to count the mortgage CREATE FUNCTION yen_11_monthlyPayment(mortage_amount numeric,apr numeric,years integer) RETURNS numeric language plpgsql AS $$ begin RETURN power(mortage_amount *(apr / 12) * (1+(apr / 12),years * 12)/ ((1+(apr / 12), years * 12) - 1)); END; $$ but when I'm trying to put the numberselect yen_11_monthlyPayment(250000.00, 0.04125, 30);and it doesn't work
- Write a function, named randomPassword, that generates a random password that takes no parameter. It will return the randomly generated password as its ONLY result. Display the randomly generated password in the main program. Password Criteria: o The password should have a random length of between 7 and 10 characters. o Each character should be randomly selected from positions 33 to 126 from the ASCII table You must import randint function directly and inline within the random package and it must be the first line of code in your program, after your program header comment. o Declaring and using FOUR constants. Constants must be named appropriately and intuitively. o You must use the chr built-in function within your randomPassword function: o Declaring the main function and invoking randomPassword function. o Logical approach to problem solving, computation, and displaying appropriate output.Write a function called HW7B, which returns a String. This String is the value of word 8 of the second paragraph beginning with Runtime of section 14.1 of page 544 of the course textbook (Introduction to Java programming Comprehensive version 2013 Online Walter J. Savitch ). This word begins with the letter ‘r’. This book can be accessed via the library link reachable via the courses ‘Library page’. This is really just a check you know how to find the course text book in case you are having problems with library books.i want code in c language Write a function to convert temperature from Fahrenheit to Celsius named “ConvertFtoC” that takes one double value for Fahrenheit as argument, and returns the equivalent temperature in Celsius(type double). Create a program that exercise this function by obtaining a Fahrenheit value from the user, calling the function, and displaying the value of Celsius it returns. [Formula: Celsius = (Fahrenheit – 32 ) * 5/9 ]
- Write a C++ prorgam with a function named getRandomMidpoint. This function should accept two arguments just like getMidpoint (getMidpoint. This function takes two int parameters, and returns the midpoint of the two integers. It has the following signature: int getMidpoint(int low, int high). But it should return a random number in between the low and high arguments. You can swap this function with the getMidpoint function to change the nature of how the program makes its guesses. Make sure to show output of your program using both getMidpoint and getRandomMidpoint showing different behaviors. Don't forget to add a call to srand() at the beginning of your program in main() to make sure each run of the program generates new "random" numbers.C++:Write a program that determines whether the user entered an item number in the required format: three digits, a hyphen, two digits, a hyphen followed by 4 alphanumerics. Display an appropriate message indicating whether the format is correct or incorrect. Use a sentinel value of -1 to end the program. You must use at least two functions in the solution of this exercise.HOW DOI I CALL THIS USING THE FUNCTION AFTER THIS getchar(); printf("Enter name : "); // Here we are using '^' to be able to use a space in the input - > scanf("%[^\ns]",p->name_1920213); printf("Enter last name : "); scanf("%s",p->lastname_1920213); printf("Enter mobile number : "); scanf("%ld",&p->contactnum_1920213); printf("Enter email : "); scanf("%s",p->email_1920213); void search_person()/* this function allows the user to search a specific contacts using the input name, last name, conatact number or email*/{ int choice_1920213; printf("\nChoose one option search for the contact details: \n\n1.First Name \t\t2.Last Name \n3.Mobile Number \t4.Email address \n ");scanf("%d",&choice_1920213); while(1) { switch(choice_1920213) /*Switch statement tests the value of a variable and compares it with multiple cases. Once the case match is found, a block of statements associated with that…
- please add professional c++ comments in each line after the code using the // command #include <iostream>using namespace std; void avg(int, int, int, int, int); // Function Prototype int main(void){ int val1, val2, val3, val4, val5; // five integer values from user cout << "Please enter 5 integer marks: "; // program prompt cin >> val1; cin >> val2; cin >> val3; cin >> val4; cin >> val5; avg(val1, val2, val3, val4, val5); // code to invoke function avg return 0;} void avg(int a, int b, int c, int d, int e){ int sum; sum = a + b + c + d + e; float avg; avg = sum / 5.0; // avg calculation cout << "The average of those marks is: " << avg << endl; // output return;}Question 3: Write a function that computes the ratio of vowels vs. consonants (????????????????����������������) in a given sentence. The ratio should be given as a floating-point number rounded off to two decimal places. When writing your function, be sure to appropriately cater for the following punctuation marks: apostrophes (') quotations (") full stops (.) commas (,) exclamations (!) question marks (?) colons (:) semicolons (;) Arguments: sentence (string) →→ sentence required to compute the ratio. Return: ratio (float) →→ a ratio that describes the number of vowels to consonants: vowels/consonants. ?HINT? Remember to cater for the white spaces that appear in your sentence. Expected outputs vowel_consonant_ratio("This is a random sentence!")==0.62 vowel_consonant_ratio("Thomas! Where have you been?")==0.83java please Create 2 functions that returns the hundreds andthousands digit from aninteger.int thousandsDigit(int a); // Ex, thousandsDigit(1234) => 1int tensDigit(int a); // Ex, tensDigit(1234) => 3//Use the % operator to return the tenth and thousandth value. %10 and%1000Create a function that counts the number of digits in a positive integer.int countDigits(int a); // Ex, countDigits(1234)=> 4//Convert an integer to String and then returns its length.