Questions: 856

Answers by our Experts: 763

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

given a set of 15 integer numbers that includes both positive and negative values.draw and write an algorithm that will read in the values including zero and the numbers of negative values found in the set. print out yhe counted values


Given the following circuit specification, show the truth table, K-Map, and logic diagram:F(w,x,y,z) = ∑(m)(1, 5, 6, 7, 11, 12, 13, 15)


  • What is truth table of logical operation (AND)and operation (OR) for five variables (five input)?

For which of the following situations is a nested loop required? It is a Multiple Select Question (MSQ).


1.To find the pair of students who have the same birthdays from the “Scores” dataset

2.To find the pair of students who scored the same marks in Physics from the “Scores” dataset

3.To find the number of words which have highest letter count from the “Words” dataset

4.To find the number of bills from the same shop from the “Shopping Bills” dataset



The boxplot below shows Emma’s performance in her physics and chemistry exams. Answer the questions below.

 

Assume that Physics minimum is 50 and maximum is 90

and Chemistry Minimum is 30 and maximum is 85

 State the median mark for each subject. Find the range of marks in each subject. Find the interquartile range for each subject.In which subject did Emma perform better? Explain your answer.     



1.The council would like to know how many students in a certain class is qualified to vote this coming campus election. Only student (denoted by S) of BIT firs year students , and the age of each student in that class . Your flowchart should accept the value of age students who are qualified to vote. If the class size is 5 then , your flowchart should accept the age of 5 students (one at a time) if students above (20 & 21).

Note: The numbers are sample data only.


2. Write the equivalent pseudocode of the flowchart created in number 1.


Problem 4: Fibonacci Series always starts with 0 and 1, or in other words the first two terms of this series are 0 and 1. Next term in this series is found by adding two previous numbers. Following figure shows first 6 terms of the Fibonacci Series i.e. 0, 1, 1, 2, 3, 5, if we were to print only even numbers then the output will be 0, 2. Design the algorithm (pseudocode) for a program that prints even terms in Fibonacci series less than N. Where N is the number entered by the user. For example, If N is 75 then print 0, 2, 8, 34 (i.e. all even terms in Fibonacci series that are less than 20) If N is 20 then print 0, 2, 8 (i.e. all even terms in Fibonacci series that are less than 20) If N is 6 then print 0, 2 (i.e. all even terms in Fibonacci series that are less than 6)


How to code “ (5 times the number n) added to 16 “


Q1. Determine the growth function and order of the following code fragment:

for (int count=0; count < n; count++)

{

for (int count2=0; count2 < n; count2=count2*2)

{

System.out.println(count, count2);

}

}





Q2. What is the order of the following growth functions?

a. 10n2 + 100n + 1000

b. 10n3 – 7

c. 2n + 100n3

d. n2 log n





Q3. Arrange the growth functions of Q4 in ascending order of efficiency for n=10 and again for n = 1,000,000
Write an algorithm that will input a grade of student and determine whether the grade is passed or failed. The passing grade is 75. Print the name, grade and remarks of student.
LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS