• Q : Wap that generate a random number in the range....
    Computer Engineering :

    What is the result of the following statement in C++? If the answer is a double write it as a decimal (Ex. write 2 as 2.0).   abs(sqrt(4.0) - 5)

  • Q : Write a program to evaluate infix expressions....
    Computer Engineering :

    Write a program to evaluate infix expressions. An infix expression looks like the following: 9 * (5 - 4) + 2 / 6

  • Q : Describe script that displays magnitude of complex number....
    Computer Engineering :

    Generate a script that displays the magnitude and phase angle in degrees of a complex number. The display to the command window should look like Enter real part of a complex number:-7 Enter imaginary

  • Q : Describe while loop....
    Computer Engineering :

    Question-Repeat problem a,b,c,d with while loops --- ? Part 1-Using the nested for loops, find the factorials of even numbers between 12 - 2 Part 2-Find the squares of even numbers between – 18

  • Q : Explain what is pseudocode in detail....
    Computer Engineering :

    Describe pseudo code/an algorithm to check if three numbers in an array can sum to n. I want to print "yes" if it's true. For example, if A[1..7] = [28, -70, -23, 92, 56, -33, -77] and t = -47, the an

  • Q : Describe about an event listener....
    Computer Engineering :

    Question1- What is an event object? Give an example. Question 2- What is an event source? Give an example.Question 3- What is an event listener? Give an example.

  • Q : How does abstract class differs from a regular class....
    Computer Engineering :

    Question 1- What is an abstract class and how does it differs from a regular class? Question 2- Why are abstract class constructors defined as protected?

  • Q : Show the coding of perl script to create directory structure....
    Computer Engineering :

    Write a PERL script to create the following directory structure in a directory of user’s choice. The user can supply the directory of choice as an argument; if missing; prompt the user to enter

  • Q : Describe karnaugh map....
    Computer Engineering :

    Part 1- Plot the following function on a Karnaugh map. (Do not expand to minterm form before plotting.) Part 2- F(A, B, C, D) = BC’ + B’CD + ABC + ABCD + B’D’

  • Q : Describe the demorgans theorem....
    Computer Engineering :

    Question-Show all steps for the following: Part 1-Reduce the minimum SOP form with (3 terms and 6 literals):h = ab'c + bd + bcd' + ab'c' +abc'd

  • Q : Define abstract class....
    Computer Engineering :

    Explain what happens when the reference to the abstract class X is used to execute method M1( ).

  • Q : Give 3 examples of pop3 clients....
    Computer Engineering :

    Provide 3 examples of the following: POP3 Client, IMAP4 Clients, SMTP Clients

  • Q : What are the downsides of libraries....
    Computer Engineering :

    In JavaScript, _____ errors are problems in the design of a program that prevent it from running as you anticipate it will run. i.      logic     ii. 

  • Q : Write a mips program to input a sequence of integers....
    Computer Engineering :

    Write a MIPS program to input a sequence of integers, terminated by 0, and print-out the sum of all the numbers. Document the program with the program name, what the program does, your name, and docum

  • Q : Write a program that takes its input from file of character....
    Computer Engineering :

    Write a program that takes its input from a file of characters. This file has a single character on each line. So this program is supposed to read each character from the file, storing each char read

  • Q : How to find the cosine of an angle....
    Computer Engineering :

    The sine of some angle is 0.45. Question- What is the cosine of that same angle? (There are two possibilities.) Use Matlab and the identity sin^2(theta) +cos^2(theta) = 1 to determine the cosine of th

  • Q : Describe how to modify code....
    Computer Engineering :

     How would you modify it? Can you post the modified the code?

  • Q : How to find the big-theta of a function....
    Computer Engineering :

    Question- How to find the big-theta of a function? For example I have n^1000, what would that be in terms of big-theta?

  • Q : Write a program displays each year population....
    Computer Engineering :

    Write a C++ program which calculates and displays each year's population of egrets based of some user input and the following formula: NextYr = Rate ? CurrentYr ? (1 ? CurrentYr) 1000000

  • Q : Write a program to find the maximum flow rate of the water....
    Computer Engineering :

    What is the maximum flow rate of the water, in cubic feet per minute that keeps the temperature above 100 degrees F. The water temperature will be raised 50 degrees F. put the 50 degrees into a variab

  • Q : Calculate the length of the hypotenuse of a triangle....
    Computer Engineering :

    Write a script to calculate the length of the hypotenuse of a triangle given the length of the other two sides. Start the script with clc, clear, side_a = 4.5, side_b =6. Use the variables side_a and

  • Q : How to describe minterm extension....
    Computer Engineering :

    Given F1=?m(0,2,5,7,9) and F1=?m(2,3,4,7,8) find the minterm expression for F1+F2. Question- State a general rule for finding the expression for F1+F2 given the minterm expansions for F1 and F2.

  • Q : Describe half adder with the help of circuit and truth table....
    Computer Engineering :

    Give the truth table for a half adder, and design the circuit using only two gates. Then design a circuit which will find the 2’s complement of a 4-bit binary number. Use four half adders and an

  • Q : Create a program for food distribution company....
    Computer Engineering :

    Food Distribution Company ships fresh spinach from its four packing plants to large East-coast cities. The shipping costs per crate, the supply and demand are shown in the table at the bottom of this

  • Q : Design and create a fortune....
    Computer Engineering :

    Design and create a fortune telling program that works as follows: Generate a number between 0 and 2 and allow the user to choose that number, that number plus one or that number plus 2 (in other word

©TutorsGlobe All rights reserved 2022-2023.