Identify invalid variables names from the following lists. Justify your answer. i) Student name ii) AVERAGE iii) double iv) _number v) 2number vi) number2 vii) 3456 viii) totalVALUE ix) side_length x) currency$
Q: What is the difference between a bounded and unbounded stack implementation?
A: Stack: Stack is a linear data structure that complies with a specific order of element insertion and…
Q: Identify, assess, and control risk as part of risk management.
A: Management of Risk: Risk management identifies, evaluates, and minimizes risks that a corporation…
Q: Many articles emphasize body language. Imagine noticing someone's body language. Was there anything…
A: Introduction: Many publications place a strong emphasis on body language. Body language is important…
Q: Description: Briefly explain the function of the standard toolbar.
A: Introduction: Standard toolbar is situated just under the menu bar. It includes icons for common…
Q: What could be causing connections to remain in the FIN WAIT 2 state, and how can you resolve this?
A: FIN WAIT 2 happens when the server has an active connection with a client and desires to terminate…
Q: Why do we need visual aids? Indicate how you would use three sorts of visual aids in a presentation.
A: Justification: Objects, photos, diagrams, data graphs, charts such as pie charts, and moving visuals…
Q: C program to print hello world
A: Here I have defined the main method. Inside the main method, I have added one printf() statement…
Q: What is a mock-up report and how does a report generator work?
A: Report generator and a mack up report: CASE (Computer-Aided Software Engineering) tools make…
Q: What is the Gray code's unique feature in regard to nearby decimal digits?
A: Gray -code has the property that the codes for successive decimal digits differ in exactly one bit.…
Q: Is it feasible to make a succession of interrelated judgments using dynamic programming? So, what…
A: Intro To solve problems that can be broken down into subproblems, dynamic programming is utilized.…
Q: What could be causing connections to remain in the FIN WAIT 2 state, and how can you resolve this?
A: Hi there, Please find your solution below, I hope you would find my solution useful and helpful.…
Q: Breifly explain Compound (Block of) Statements.
A: Block A block is a collection of statements and declarations and it is enclosed by curly braces.…
Q: Define the term "object-oriented programming."
A: Introduction of Object-Oriented Programming: In object-oriented programming, there are four basic…
Q: Create in html a shopping cart.
A: HTML:- HTML is a language, basically, a markup language used to design web pages. Main structure of…
Q: Discussions on specialized apps, such as graphics programs, video game design software, web…
A: Among the specialized software used in graphics programs are the following: Photoshop by Adobe…
Q: Write a python program that: 1. Asks the user to enter the salary of 15 employees, 2. Count and…
A: Step-1: Start Step-2: Declare a list salaryList Step-3: declare count =0 Step-4: Start a for loop…
Q: What is a distributed database? What is a DDBMS?
A: Introduction: This may be important if a database has to be seen by many individuals all over the…
Q: It is a good idea to put lots of images and information on each slide to keep the viewer entertained…
A: The answer is given below step.
Q: 11. (10 - medium) (PDA) Design PDA for L = {wcw“|w € {a,b}*}. %3D
A: here we have given solution for question number 11 as per the guidelines. You can find the solution…
Q: Information technology Explain briefly the vision input System?
A: Introduction: The computer vision system has ushered in a new epoch of technical progress. The…
Q: Are there any more web-based technologies that are being used to facilitate project collaboration?
A: Initiation: To cooperate effectively, members of a team must have complete faith in one another,…
Q: Given the following sample outputs, complete the program. TAKE NOTE THAT THERE ARE NO TYPOGRAPHICAL…
A: The above code is to print if a number is positive, negative or zero. The answer is given below.
Q: What are the most important elements to consider while creating a program? Describe the advantages…
A: The process of doing a certain computation, usually by designing/building an executable computer…
Q: Q3/ Suppose a movie theater has 36 seats, laid out in a rectangular six rows by six seats. Let the…
A: C++ Program for above : #include <iostream> using namespace std; int main() { int…
Q: What is the purpose of the ip ospf priority command? Explain in your own words why Network Address…
A: Justification: NAT saves IP addresses by allowing unregistered private IP networks to go online. NAT…
Q: A backup of the critical system files essential for the operation of the operating system in Windows…
A: Introduction: Points to Restore Certain versions of the Windows operating system (ME, XP, and Vista)…
Q: How can the combiner approach save network time in the map reduce paradigm? Explain with an example.
A: Solution: How can the combiner approach save network time in the map reduce paradigm? Explain with…
Q: k) L11 = All strings containing exactly two a's. I) L12 = All strings containing at least two d's.
A: Here in this question we have asked to write the regular expression for exactly 2a and at least 2a.
Q: What are the advantages of multithreading programming?
A: Intro When we talk about multithreading, we're talking about the simultaneous execution of more than…
Q: C program for array manipulation Take 10 elements array from user and print the given array new…
A: The answer of this question is as follows:
Q: Border router Core router LLLLL L LL Administration Building (40 computers) Router to Router (2…
A: Given IP address is 172.16.0.0/18 Number of Network bits= 18 Number of Host bits= 32-18= 14 We need…
Q: What is a distributed database? What is a DDBMS?
A: Introduction: Here we are required to explain what is a distributed database and what is a DDBMS.
Q: Short answer What is an executable program Information technology
A: Introduction: This application instructs a computer to accomplish certain activities for which it…
Q: Describe the efficacy of collaboration, these tools, and one you believe has the greatest impact.
A: Collaboration can be defined as the bringing together of all the capabilities, functions and…
Q: Why should interrupt be used in development instead of polling?
A: Introduction: Polled mode is utilized if interrupt mode is unavailable due to hardware or software…
Q: List the criteria that indicate a system's useful life has come to an end.
A: Introduction: Each program gets repetitive at some second on schedule. Supplanting the program with…
Q: An alternative to implementing Java's Runnable interface is to extend
A: Option 2 thread By extending Thread class By implementing Runnable interface
Q: 1. In the shown digital circuit F is equal to: а. 0 b. 1 c. x +y d. None of the above y So 4 x I MUX…
A:
Q: What is a distributed database? What is a DDBMS?
A: Introduction: This may be important if a database has to be seen by many individuals all over the…
Q: Exercise 1: Write function headers for the following functions (and indicate whether the function…
A: NOTE:“Since you have posted a question with multiple sub-parts, we will solve first three subparts…
Q: Which two wireless networking technologies are most often used?
A: Intro We often use 2 main types of wireless technologies, they are:1. Wi-Fi networks2. Mobile phone…
Q: Assuming the code x=(8 * 2 % 3) + (7 * (3 -2 * 3) / 6); has been executed correctly, what is the…
A: Ans) If the above codes has been executed correctly, the calculation followed by BODMAS. The answer…
Q: Explain memory management and what swapping is all about.
A: As per the given question, we need to explain memory management and the concept of swapping. Both…
Q: Is a coaxial cable used to link two computers as a crossover cable?
A: The, given question regarding: coaxial cable use as crossover cable to connect two computers.
Q: Checking the AC outlet is the first step in troubleshooting a completely dead computer at a client…
A: Dead computer: When troubleshooting an entirely dead computer at a customer location operating the…
Q: Java's Runnable interface requires the programmer to write a method for concurrent execution called
A: Option 1 Run() The runnable interface implementation uses the code inside the run() method and…
Q: What does "strongly typed" mean in a language? Typed statically? What stops C, for example, from…
A: Intro Strongly typed means there are square measure restrictions between conversions between…
Q: Large address space 2n where n = word length May be nested, multilevel, cascaded - e.g. EA = (((A)))…
A: Introduction
Q: Hi bartleby.com Please answer below question Write C code to print name entered by user Thank…
A: steps for writing C program code 1) first declare the header file. 2) second declare the main…
Q: Question 8 . By lonic default, users need to slide a slidable item from right to left. True O False…
A: Ans 1 : False that by iconic default, users need to slide a slidable item from right to left as…
2. Identify invalid variables names from the following lists. Justify your answer.
i) Student name
ii) AVERAGE
iii) double
iv) _number
v) 2number
vi) number2
vii) 3456
viii) totalVALUE
ix) side_length
x) currency$
Trending now
This is a popular solution!
Step by step
Solved in 2 steps
- def division_calculator(a, b): ''' Question 4 You are asked to write a small division calculator, where you are taking 'a' as dividend and 'b' as the divider. You will need to return both the quotient and the remainder. Your returned result should be the: "a is divided by b, with the quotient equals 'quotient' and remainder equals 'remainder'" Note: You must use f-string to do this question. Args: a (int), b (int) Returns: string >>> division_calculator(3, 1) "3 is divided by 1, with the quotient equals 3 and remainder equals 0." ''' # print(division_calculator(9, 3))a) Find names and surnames of professors who teach a course in the "Biology" program: π(first_name, last_name)(σ(course_name = "Biology")(Course ⨝ Professor)) b) Find the student IDs and names of students who have not taken any exam (from any course): π(student_id, first_name, last_name)(Student - π(student_id)(Exam)) c) Find student IDs of students who have passed every exam from the "Data Science" program: π(student_id)(Student ⨝ (σ(programme = "Data Science")(Course) ⨝ (Student.student_id = Exam.student_id) ⨝ (Exam.grade >= 5))) d) Find the course IDs and names of courses that have been passed by at least two different students: π(course_id, course_name)(Course ⨝ Exam) ÷ ρ(count(students_passed), count(students_passed)(Course ⨝ Exam)) do these solutions fulfil these requirements 2. Use RELATIONAL ALGEBRA to write the following queries:a) Find names and surnames of professors, who teach a course in "Biology" programmeb) Find the student IDs and names of students who have not…QUESTION 2 Array is a static data structure because it cannot change its size at run time. True False
- the code CREATE FUNCTION Calculate_Monthly_Payment( @mortage_amount BIGINT , @apr DECIMAL(18, 6) , @years INT)RETURNS DECIMAL(18, 6)ASBEGIN /* A = P (i + i (1+i) −1 n ) where: A = Monthly Payment Amount P = Principle (Initial) Mortgage Amount i = APR / 12 = Monthly Interest Rate n = years * 12 = Total Number of Payments */ -- Calculate monthly interest rate DECLARE @i DECIMAL(18, 6) SET @i = @apr / 12 DECLARE @n INTEGER SET @n = @years * 12 RETURN (@mortage_amount *@i * POWER(1+@i,@n)) / (POWER(1+@i, @n) - 1) END isn't working it shows that ERROR: syntax error at or near "@" LINE 3: @mortage_amount BIGINT ^ SQL state: 42601 Character: 48INT_MIN = -32767 def cut_rod(price): """ Returns the best obtainable price for a rod of length n and price[] as prices of different pieces """ n = len(price) val = [0]*(n+1) # Build the table val[] in bottom up manner and return # the last entry from the table for i in range(1, n+1): max_val = INT_MIN for j in range(i): max_val = max(max_val, price[j] + val[i-j-1]) val[i] = max_val return val[n] # Driver program to test above functionsarr = [1, 5, 8, 9, 10, 17, 17, 20].Python program named "YourMuseumID_Exhibits.py" focusing on museum exhibit data: You have a list of dictionaries representing exhibits in a museum. Each dictionary contains the exhibit name, the number of artifacts on display, and the historical era it covers. Perform the following tasks: (a) Calculate and display the total number of artifacts on display for all exhibits in the museum. (b) Identify and display the exhibit with the highest number of artifacts on display. (c) Implement a function that takes a user-input exhibit name and searches for it in the list. If found, display the number of artifacts on display and the historical era it covers; if not found, print a message indicating that the exhibit is not in the museum. (d) Implement a sorting algorithm of your choice to sort the exhibits based on the number of artifacts on display in descending order and display the sorted list. Make sure to incorporate functions for each task and display the results in the main function with…
- Count consecutive summers def count_consecutive_summers(n): Like a majestic wild horse waiting for the rugged hero to tame it, positive integers can be broken down as sums of consecutive positive integers in various ways. For example, the integer 42 often used as placeholder in this kind of discussions can be broken down into such a sum in four different ways: (a) 3 + 4 + 5 + 6 + 7 + 8 + 9, (b) 9 + 10 + 11 + 12, (c) 13 + 14 + 15 and (d) 42. As the last solution (d) shows, any positive integer can always be trivially expressed as a singleton sum that consists of that integer alone. Given a positive integer n, determine how many different ways it can be expressed as a sum of consecutive positive integers, and return that count. The number of ways that a positive integer n can be represented as a sum of consecutive integers is called its politeness, and can also be computed by tallying up the number of odd divisors of that number. However, note that the linked Wikipedia de0inition…The strItems array is declared as follows: Dim strItems(20) As String. The intSub variable keeps track of the array subscripts and is initialized to 0. Which of the following Do clauses will process the loop instructions for each element in the array? a. Do While intSub > 20 b. Do While intSub < 20 c. Do While intSub >= 20 d. Do While intSub <= 20Brussel's choice def brussels_choice_step(n, mink, maxk): This problem is adapted from another jovial video "The Brussel's Choice" of Numberphile (a site so British that you just know there has to be a Trevor and a Colin somewhere in there) whose first five minutes you should watch to get an idea of what is going on. This function should compute and return the list of all numbers that the positive integer n can be converted to by treating it as a string and replacing some substring m of its digits with the new substring of either 2*m or m/2, the latter substitution allowed only when m is even so that dividing it by two produces an integer. This function should return the list of numbers that can be produced from n in a single step. To keep the results more manageable, we also impose an additional constraint that the number of digits in the chosen substring m must be between mink and maxk, inclusive. The returned list must contain the numbers in ascending sorted order.
- #Data is given in the order: Serial Number | Item Name | Quantity | Priceprice_list = [["01","Keyboard",4,200.0],["02","Mouse",4,150.0],["03","Printer",2,300.0]] #Write Code to increase the price of all the items by 50 taka #Code1 #Write code to add a new item to the list using user input #Code2 print()#Print the list using nested loops #Code3 #Sample output given below: Enter Serial: 05Enter Item Name: MonitorEnter Quantity: 200Enter Price: 50 01Keyboard4250.0-----------------02Mouse4200.0-----------------03Printer2350.0-----------------05Monitor20050-----------------Identify invalid variables names from the following lists. Justify your answer. i) Student name ii) AVERAGE iii) double iv) _number v) 2number vi) number2 vii) 3456 viii) totalVALUE side_length currency$ ix) x)Add distribution function in code The system should allow the employees to list all distributed vaccines and their accumulated quantities read from the dist. txt file. Note: The vaccines and their distributed quantities need to be sorted in descending order (with highest quantity listed first followed by second highest and so on) using Bubble sort before displaying on the screen. MY C Programming CODE: #include <stdio.h> #include <stdlib.h> #include <string.h> // Function Declarations void create_inventory(); void update_vacc_qty(); int search_vaccine(); void display_vaccine(); // Main Function starts here int main() { create_inventory(); display_vaccine(); search_vaccine(); //update_vacc_qty(); return 0; } //Function to Create Vaccine.txt as per the given table void create_inventory() { int option = 1; // variables to collect data as per table given char vaccName[15]; char vaccCode[2]; char country[15]; int qty; float populaion; //File definition FILE *infile;…