Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Web development and programming

191828 questions • Page 182 / 3837

1. (10 points) Consider the alphabet -ta, b}. Here are several descriptions of s
1. (10 points) Consider the alphabet -ta, b}. Here are several descriptions of sets, along with several regular expressions. Match the ones that describe the languages. In other w…
1. (10 points) Consider the following algorithm: procedure alg1(a, b : positive
1. (10 points) Consider the following algorithm: procedure alg1(a, b : positive integers) x := a y := b while y not equal 0 r := x mod y x := y y := r return x (a) What does alg1 …
1. (10 points) In this problem, we\'ll use the following definitions (from page
1. (10 points) In this problem, we'll use the following definitions (from page 44) of operations on languages (sets of strings) A, B: Concatenation Ao B = {xy | x A and y B} Star …
1. (10 points) Read chapter 22 of Big Java 5th Ed. (provided as a PDF file on Bl
1. (10 points) Read chapter 22 of Big Java 5th Ed. (provided as a PDF file on BlackBoard) and provide short answers to the following questions. Submit your answers in a text docum…
1. (10 points) Recall the following definitions (from page 44) on languages (set
1. (10 points) Recall the following definitions (from page 44) on languages (sets of strings) A, B: Union AU B = {x | x A or x B} Concatenation Ao -{zy 1 TE A and y E B} Star Afri…
1. (10 points) Show that the set N x N ((0,0), (0, 1),... is countable. Note tha
1. (10 points) Show that the set N x N ((0,0), (0, 1),... is countable. Note that if you use picture to demonstrate correspondence and need to skip some elements, you must explain…
1. (10 points) Suppose you have a load-store computer with the following instruc
1. (10 points) Suppose you have a load-store computer with the following instruction mix Operation Frequency Number of clock cycles ALU ops Loads Stores Branches 40 % 20 % 18% 22 …
1. (10 points) Suppose you have tasks P, P2, Ps. P arrive in order at times 0,0,
1. (10 points) Suppose you have tasks P, P2, Ps. P arrive in order at times 0,0,1,2 and lengths 4,3,2,1 respectively. Assume non-premptive scheduling. (a) Draw the timeline of tas…
1. (10 points) The program below has comments on the ends of some lines. For eac
1. (10 points) The program below has comments on the ends of some lines. For each line listed in the table below, determine whether the give identifier is a parameter, argument, l…
1. (10 points) The program below has comments on the ends of some lines. For eac
1. (10 points) The program below has comments on the ends of some lines. For each line listed in the table below, determine whether the give identifier is a parameter, argument, l…
1. (10 points) The program below has comments on the ends of some lines. For eac
1. (10 points) The program below has comments on the ends of some lines. For each line listed in the table below, determine whether the give identifier is a parameter, argument, l…
1. (10 points) Use divide and conquer approach to write an algorithm that solves
1. (10 points) Use divide and conquer approach to write an algorithm that solves the following problem. Suppose we have n identical-looking coins numbered 1 through n and only one…
1. (10 points) Write an efficient iterative (i.e., loop-based) function Fibonnac
1. (10 points) Write an efficient iterative (i.e., loop-based) function Fibonnaci(n) that returns the nth Fibonnaci number. By definition Fibonnaci(0) is 1, Fibonnaci(1) is 1, Fib…
1. (10 points) a) P1 arrived at 0 and need 6 units burst time, P2 is arrived at
1. (10 points) a) P1 arrived at 0 and need 6 units burst time, P2 is arrived at 1 and need 4 units of burst time, process P3 is arrived at 2 and need 6 units of burst time and pro…
1. (10 pts each) Formulate a SQL query for each of the following questions. The
1. (10 pts each) Formulate a SQL query for each of the following questions. The prefix […], if any, in front of a question specifies limitations which the SQL query must be constr…
1. (10 pts each) Formulate a SQL query for each of the following questions. The
1. (10 pts each) Formulate a SQL query for each of the following questions. The prefix […], if any, in front of a question specifies limitations which the SQL query must be constr…
1. (10 pts each) Formulate a SQL query for each of the following questions. The
1. (10 pts each) Formulate a SQL query for each of the following questions. The prefix […], if any, in front of a question specifies limitations which the SQL query must be constr…
1. (10 pts each) Formulate a SQL query for each of the following questions. The
1. (10 pts each) Formulate a SQL query for each of the following questions. The prefix […], if any, in front of a question specifies limitations which the SQL query must be constr…
1. (10 pts) Consider the security levels TS, S, C, and U ordered as follows: Let
1. (10 pts) Consider the security levels TS, S, C, and U ordered as follows: Let C1, C2, and C3 be the categories. Consider the rights r (read) and w (write) that a subject can ha…
1. (10 pts) Implement a function that determines if there exist a route between
1. (10 pts) Implement a function that determines if there exist a route between two nodes in an undirected graph. The graph will be represented with its adjacency matrix which for…
1. (10 pts) Smoothing is a very useful technique for removing noise or small det
1. (10 pts) Smoothing is a very useful technique for removing noise or small details from digital images. Smoothing works by replacing the value of each pixel in an image by the a…
1. (10 pts) When the ea? function in Scheme is used for comparing symbols it mus
1. (10 pts) When the ea? function in Scheme is used for comparing symbols it must return # t if and only if the the two symbols have the same name (where uppercase and lowercase c…
1. (10 pts) When the eg? function in Scheme is used for comparing symbols it mus
1. (10 pts) When the eg? function in Scheme is used for comparing symbols it must return #t if and only if wo symbols have guished). E.g. (eg? (eg? (eg? ,x ,x ,x , x) returns#t , …
1. (10 pts) Write the code for a simple C program with the following features (t
1. (10 pts) Write the code for a simple C program with the following features (the exact details are completely upto you): (i) main() calls a function foo() which in turn calls a …
1. (100 points) The daily sales of a grocery store are saved in the file sale.tx
1. (100 points) The daily sales of a grocery store are saved in the file sale.txt. Each line contains the record for a product name, price per pound in dollars, and total number o…
1. (100 points) The following neural network is used for mortgage approval. Char
1. (100 points) The following neural network is used for mortgage approval. Character .5 Mortgage Fina Age greep Credit A The numbers 1-7 identify nodes, and the weights take posi…
1. (100 pts) Dowload the file assignbonus.c from class webpage and reduce the si
1. (100 pts) Dowload the file assignbonus.c from class webpage and reduce the size of the file without changing the functionality. The two programs should do the same thing but th…
1. (100 pts) Write a program that finds the majority element in an array if it e
1. (100 pts) Write a program that finds the majority element in an array if it exists. Majority element is the element which appears in more than half of the array locations. Decl…
1. (100 pts) Write a program that implements the following functions int partial
1. (100 pts) Write a program that implements the following functions int partialsum(int data[), int start, int end) void partialprint(int data[], int start, int end) The function …
1. (100 pts) Write a program that swaps the elements of an array pairwise. Start
1. (100 pts) Write a program that swaps the elements of an array pairwise. Start from the left of the array, take 2 elements at a time and swap the two elements. Continue in this …
1. (100 pts) Write a program to randomly pick an element of a binary search tree
1. (100 pts) Write a program to randomly pick an element of a binary search tree randomly. All the elements should have about equal probability of being selected. Consider the fol…
1. (10pts) Fill in the blanks to complete the pseudo code for deleteMax(p) of a
1. (10pts) Fill in the blanks to complete the pseudo code for deleteMax(p) of a priority queue p. deleteMax( max priority queue p: also integer array Al1 to n]) xzA[1] ; A[1] = Al…
1. (10pts) Read the article found at: hcns.com/n/us-nexs/tacial-recognition-give
1. (10pts) Read the article found at: hcns.com/n/us-nexs/tacial-recognition-gives-police-powerful-nex-tracking tool-it-s-n894936 a) b) Explain why this is information technology. …
1. (12 points) Write a static method reversed which takes a string as input and
1. (12 points) Write a static method reversed which takes a string as input and returns a new string with the characters of the input in reverse order. Write another static method…
1. (12 pts) You run a movie theater that uses the following pricing scheme for t
            1.      (12 pts) You run a movie theater that uses the following pricing scheme for tickets: Matinee (before 5:00 pm) Evening (5:00 pm or after, including midnight sho…
1. (12%) Answer True or False to the following statements. problem. There is onl
1. (12%) Answer True or False to the following statements. problem. There is only one unique general solution (algorithm) for a given (2) All computer programs are algorithms. The…
1. (13 points) Recently, security experts revealed two critical hardware vulnera
1. (13 points) Recently, security experts revealed two critical hardware vulnerabilitiesn modern processors, Meltdown and Spectre. These hardware vulnerabilities allow programs to…
1. (13 points) Think about the full object-oriented version of the CORE interpre
1. (13 points) Think about the full object-oriented version of the CORE interpreter that we've discussed in class. Suppose we wanted to use polymorphism in the implementation of t…
1. (14 points) The first problem includes the following: (a) Write a class encap
1. (14 points) The first problem includes the following: (a) Write a class encapsulating the concept of an address, called Address, having a streetAddress, city, state, and zipCod…
1. (15 points) A process references five pages, A, B, C, D, and E, in the follow
1. (15 points) A process references five pages, A, B, C, D, and E, in the following order: A;B;C;D;A;B;E;A;B; E;C;D Assume that the replacement algorithm is optimal and find out t…
1. (15 points) Answer the following questions for the pfoblem What are the input
1. (15 points) Answer the following questions for the pfoblem What are the inputs? or string) How do you get from inputs to the outputs you want (process)? What format are they in…
1. (15 points) Identify the primary key and foreign key for the relations below.
1. (15 points) Identify the primary key and foreign key for the relations below. A database for DSU (Database State University) contains information about professors (identified b…
1. (15 points) True or False. Decide whether these statements are True or False.
1. (15 points) True or False. Decide whether these statements are True or False. You must briefly justify all your answers to receive full credit. (a) (5 points) If some edge weig…
1. (15 pts) Circle T for true and F for false: T F a) Value Returning Functions
1. (15 pts) Circle T for true and F for false: T F a) Value Returning Functions cannot use reference parameters. T F b) Arguments corresponding to value parameters can be variable…
1. (15 pts) The following 68000 assembly language instructions are all incorrect
1. (15 pts) The following 68000 assembly language instructions are all incorrect. In each case, what specifically is the error? (Hint: Consult the 68000 Instruction Set) a. EXT.B …
1. (15%) Design a wireless network for your home network. A. What is a network?
1.       (15%) Design a wireless network for your home network.   A.   What is a network? B.    Describe how the home network would be used by your family members. C.    Name at l…
1. (15) Write a small C program for the Tiva Launchpad that: (a) Configures Port
1. (15) Write a small C program for the Tiva Launchpad that: (a) Configures Port D as all digital inputs (b) Should generate a flag when any kind of change appears on the pins (ri…
1. (18 pts) Circle the selected answer for T/F. Each is 3 points. a. T/FAll inst
1. (18 pts) Circle the selected answer for T/F. Each is 3 points. a. T/FAll instructions in the MIPS architecture we discussed in class were 32-bits wide b. T/FIf a given program …
1. (2 Points) In order to view a module, you\'ll need to open the ____ editor. 2
1. (2 Points) In order to view a module, you'll need to open the ____ editor. 2. (2 Points) Briefly explain why Power Point is useful for presentation in both educational and c ap…
1. (2 points each) Create the following objects as described below. Use any name
1. (2 points each) Create the following objects as described below. Use any name Create an object of type Homework, named homework1, using a constructor that does not take in any …