Expert Answers

(Solved): As distance between genes increases As distance between two...


As distance between genes increases
As distance between two genes on a chromosome increases, the chance of
increases
Multiple
As distance between genes increases As distance between two genes on a chromosome increases, the chance of increases Multiple Choice recombination linkage parental ailele combinations in the offspring incomplete dominance heterozygosity

(Solved): I need:1. codes (implementations of two different BBSTs) can...

I need:
1. codes (implementations of two different BBSTs) can pass the Online Judge System
2.generator programs
3.study report. (description)


C++ data stucture , Compiler: C++11, flag:-static   -std=c++0x 

please also show the correct output and ensure that the code can pass the online judge system and get accepted. Then upvote!!!


Learning Outcomes
Enhance coding skills through practices
Implement the most popular types of balanced binary search trees (B
in C++, and the data you generated should meet the constraints in the problem description. A sample generator is
available on
BBST
Description
You are required to maintain a multiset S, which supports the following operations
1. Insert a number 2 to S
Constraints
1sns 10,1 <opt < 6, -10<=< 10?
It is guaranteed that the precursor or successor exists for each type 5 or 6 opera

advance research can be found online.
please do it as soon as possible

Learning Outcomes Enhance coding skills through practices Implement the most popular types of balanced binary search trees (BBSTs): • Evaluate and compare similar BBSTs and find their strengths and weaknesses: Learn how to select appropriate data structures to solve problems. 1 Overview You are required to maintain a multiset S, which supports the following operations: 1. Insert a numbers to : 2. Erase a mumber equal to x from Sif exists; 3. Find the order of r in S, i.e., 1 + deslv < x); 4. Find the r-th smallest mumber in S; 5. Find the precursor of a number x in S. i.e., max {v} if exists: 6. Find the successor of a number r in S. i.e. min {u} if exists. VES, DES,U> 2 Detailed Requirements 2.1 Select BBSTS In this assignment, you are asked to select and achieve any two kinds of BBSTs mentioned or introduced in the lecture (preferably Splay and AVL Tree) to achieve the operations listed above. You need to submit your implementations to the Online Judge System and pass the corresponding question BBST. 2.2 Efficiency Analysis and Study Report You will be the problem setter this time to design the test data for this problem. You are required to compare and analyse the differences in efficiency between different BBSTs by feeding the different types of testing data designed and generated on your own for the operations mentioned above. The generator programs should be written 1 in C++, and the data you generated should meet the constraints in the problem description. A sample generator is available on canvas Then, you need to write a report to brief your progress and findings on this assignment. The following things should be clearly stated in the report: • The compiling command for compiling your generator programs, c.g-g++ sampleGenerator.cpp -o exec file. Some available compiling options are -std=c++11, -1m, -02; . An explanation about the strategy and purpose of the test data sets you designed and generated; . An analysis of the performance of the different BBSTs under your different data sets; • A conclusion including the strengths and weaknesses of the BBSTs you implemented based on the performance analysis. 3 Assessment Criterion You will be assessed by how much and how well you can apply what you have learnt from the course, some considerations are: . Whether you successfully implemented exactly two kinds of the BBSTs and your programs passed the problem in the Online Judge System; • To what extent the data generated by your generator programs matches the design stated in your report: • To what extent the data sets you designed and stated in your report can reveal the characteristics of the BBSTs. For example, if you implemented a Splay tree, you may think about under which kind of special data it will perform well; • How comprehensively you compared the performance of different BBSTs under your test data; • To what extent your conclusion matches the performance of your implementations under the test data and how comprehensively you analysed the strengths and weaknesses of your BBSTS. 4 Hints . One reasonable standard for assessing the performance of the BBSTs is the number of rotations during the whole process . You may start with a further research about the BBSTs by reading some references. BBST Description You are required to maintain a multiset S, which supports the following operations 1. Insert a number 2 to S 2 Erase a number equal to a from Sif exists: 3. Find the order of 2 in S. ie. 1 + Deslu

(Solved): Find the gradient of the function f(x, y, z) = z2ln(yx), a...

Find the gradient of the function f(x, y, z) = z2ln(yx), at the point (e,1,1)
=
V f(e, 1, 1) =

Find the gradient of the function f(x, y, z) = z2ln(yx), at the point (e,1,1) = V f(e, 1, 1) =

(Solved): Question 5. A CU test was conducted on a saturated clay so...

Question 5.
A CU test was conducted on a saturated clay soil by isotopically consolidating the soil using
a cell pressure of

Question 5. A CU test was conducted on a saturated clay soil by isotopically consolidating the soil using a cell pressure of 150 kPa and then incrementally applying loads on the plunger while keeping the cell pressure constant. Failure was observed when the stress exerted by the plunger was 160 kPa and the porewater pressure recorded was 54 kPa. Determine: a) An undrained shear strength b) Secant parameter c) Draw Mohr's Circle

(Solved): Sam Baxter is a derivative analyst for Rock Asset management...

Sam Baxter is a derivative analyst for Rock Asset management. One of Sam’s clients plans initial an merger & acquisition in 120 days. This acquisition will be financed by a $ 10,000,000 loan with a term of 180days and rate is 180-day Libor plus 350 bps. Principal and interest will be paid in arrears (at the end of each loan period). Sam’s client worries about a potential increase on interest rate 120 days later before he initials a loan for acquisition. Sam suggests his client to buy an interest rate call option on 180-day Libor with an exercise rate of 2.4% for a premium of $75,000. This interest call option expires in 120 days and any payoffs from this call option occurs at the end of loan period. Current 180-day Libor is 2.5%. The client can finance the call option premium at current 180-day Libor plus 350 bps.

120 days later, the 180-day Libor is 3.8% when the loan is initiated. Calculate the effective annual rate on the loan.

(Solved): Objectives: Pointers, Dynamic arrays, structures, user-def...

Objectives: Pointers, Dynamic arrays, structures, user-defined types, Strings, String
manipulation, text input/output, files

Objectives: Pointers, Dynamic arrays, structures, user-defined types, Strings, String manipulation, text input/output, files Question 1 (30p): Write a C program that does the following: 1. Declare a structure PC that has the following fields: PC_SerialNumber, Year, and Price_Amount. [5 points] 2. In the main, ask the user to enter the total number of PCs. Create a dynamic array of structures of type PC, and ask the user to fill all the fields for each entry in the array. [5 points) 3. Print all the data of PCs with a price of 500 KD or less. [10 points] 4. Calculate the average year of the PCs in your array. Print the average you calculated. [10 points)

(Solved): Problem 2 (25 pts] Prize Collecting Walks on a Grid The in...

Problem 2 (25 pts] Prize Collecting Walks on a Grid
The input to this problem is an m x n grid. The top left entry is (1,1)
t(b) Explain how, after filling in your table, you can use the information
in your table to solve the problem.
Note: This is m

Problem 2 (25 pts] Prize Collecting Walks on a Grid The input to this problem is an m x n grid. The top left entry is (1,1) the bottom right entry is (m,n). Entry (i, j) in the grid contains a prize or penalty with known worth P(i,j) (the input). A walk starts at (1,1) and terminates at (m, n). At each step you can either move one unit to the right or one unit down or one unit to the right and one unit down. That is, from (i, j) you may move to either (i, j+1), (i+1, j) or (i +1, j +1) (if you are on the boundary and only one such neighbor exists, you must move to that existing neighbor). When you land on (k,r) you collect or pay money. How much you col- lect/pay depends on both P(k, r) and how you got to (k, r). If you move from (i,j) to (i+1,j) or (i, j +1) you will earn, respectively, Pli +1,j) or P(i, j +1). But, if you move to (i +1, j +1), you will earn P(i+1, j +1). The Value of a walk is the sum of all the prizes/penalties that you have collected/paid. Your goal is find the largest possible value walk. It is not necessary to find the walk itself; just the value. As an example, consider the grid and walk shown below a (1,1) 1.2) (1,5) 1,3) -8 (1.4) 1 (1,6) 7 -7 -4 2) (2,3) (2,4) 2,5) 2,6) 2.1) -2 12 -8 1 10 (3.1) 3.2) 3.3) 3,6) 3,5) 9 1 -27 -30 2 1 4.1) (4,2) (4.3) 10 4,5) 18 (4.6) 10 3 2 16 This walk has value 1 + {12+1+(-2) + 10 + 18 + 10 = 55 which is a max value walk. Design an O(mn) time dynamic programming algorithm for finding a maximum- value walk. (a) Give the recurrence upon which your DP algorithm is based. Before giving the recurrence, definc (using cnglish and math symbols) the meaning of each entry. (b) Explain how, after filling in your table, you can use the information in your table to solve the problem. Note: This is meant to have a one line answer. Is the solution a particular table entry? If so, which entry? Or is it a function, e.g., the marimum, of a set of table entries? (c) Prove the correctness of the recurrence relation from part (a). (d) Give documented psuedocode for your algorithm. Your code only needs to find the value of a maximum-value walk, not the actual walk itself. (e) Explain why your algorithm runs in O(nm) time.

(Solved): Question 2 1 pts A linear system with n equations in n unkn...



Question 2
1 pts
A linear system with n equations in n unknowns
always has exactly one solution
always has n solutions
always
Question 2 1 pts A linear system with n equations in n unknowns always has exactly one solution always has n solutions always has at least one solution may have no solutions

(Solved): 6) For the block diagram shown in Figure (5), obtain the ov...


6) For the block diagram shown in Figure (5), obtain the overall
transfer function by using reduction rules.
H
R(S)
G
G;
H
G
6) For the block diagram shown in Figure (5), obtain the overall transfer function by using reduction rules. H R(S) G G; H G Figure (5)

(Solved): Save & Morgan's key observation Morgan's experiment...


Save &
Morgans key observation
Morgans experiments with red and white eye color in the fruit fly Drosophila provided eviden
Save & Morgan's key observation Morgan's experiments with red and white eye color in the fruit fly Drosophila provided evidence that alleles are located on chromosomes because Multiple Choice the results of his crosses could be explained the assumed that the alleles controlling eye color are located on the X chromosome the results of his crosses could be explained the assumed that the eles controlling eye color are located on the chromosome the results of his crosses could be explained the assumed that the wiele for white eyes is located on the X chromosome and the alle for red eyes is located on the Y chromosome. when he exposed the chromosomes of Drosophila to radiation, he sometimes produced mutants with white eye color. the results of his crosses indicated that the alleles that control eye color and the alleles that control several other traits do not assort Independently