• Q : Write a while-loop to compute the sum of positive integers....
    Computer Engineering :

    Write a while-loop to compute the sum of the first 10 positive integers, the sum of the squares of the first 10 positive integers, and the sum of their cubes. Let x = (6,-3,7,-8,1).

  • Q : How are symbol table of an assembler and compiler similar....
    Computer Engineering :

    Question 1- How are the symbol table of an assembler and compiler similar? how do they differ? Question 2- Write an assembly language program that prints "Khang" on the screen. Use the .ASCII pseudo

  • Q : Write an apple that displays a basic house made up of lines....
    Computer Engineering :

    Write an apple that displays a basic house, made up of lines (a nd possibly rectangles). Your house should have mult iple colors. On the applet, give a title to the house (for instance, "Java House"

  • Q : Construct a state diagram for a simple dvd player....
    Computer Engineering :

    Question 1- Construct both the Use case and Sequence diagrams for the process of registration of classes at a university. Question 2- Construct a state diagram for a simple DVD player (be able to only

  • Q : How does perl differ from other programming languages....
    Computer Engineering :

    Question 1- How does PERL differ from other programming languages? Some advantages and disadvantages of PERL Question 2- List the parts of a Use case diagram and tabular description.

  • Q : Wap to display the total value of the coins in dollar....
    Computer Engineering :

    Question- Write an 80x86 assembly language program (masm) to compute and display the total value of the coins in dollar and cents. Input: The program reads the number of coins(pennies, nickels, dime

  • Q : Write the matlab code for particle swarm optimization....
    Computer Engineering :

    Question 1- Create your own C function. Make sure that you include the correct syntax (function prototype, function call, and function definition). You can create a function that can do any kind of

  • Q : Write a program that outputs a histogram of students grades....
    Computer Engineering :

    Write a program that outputs a histogram of students grades for an assignment. The program should input each student's grade as an integer and store the grade in a vector.

  • Q : What happens when a folder is compressed....
    Computer Engineering :

    When you compress a folder, _____. a. the folder is compressed, but the files within it are not  b. files (but not subfolders) are compressed into individual files  c. all the files in the f

  • Q : What happens when you click empty recycle bin....
    Computer Engineering :

    What happens when you click Empty Recycle Bin at the Recycle Bin shortcut menu? a. The contents are marked for deletion.  b. The contents are permanently deleted.

  • Q : Why are bsts especially suitable for recursive algorithms....
    Computer Engineering :

    Question 1- Why are BSTs especially suitable for recursive algorithms? Quetion 2- What is code reuse by composition versus inheritance ? When is code reuse by composition useful?

  • Q : Why are the keys in a bst all of the same type....
    Computer Engineering :

    What is the "computational complexity" of the "find" operation in BSTs,  i.e how much work has to be done? 20 operation to find?Why are the keys in a BST all of the same type?

  • Q : What hash function should we use for strings....
    Computer Engineering :

    Question 1- How big should a hash table be as a function of the max number of items in the dictionary? Question 2- What hash function should we use for strings?

  • Q : Write a pass by reference function called swap....
    Computer Engineering :

    Write a pass by reference function called swap ( and its defination aka code) that takes in two integers numbers and swaps the values. for example if x and y are two variables with values 7 and 3 re

  • Q : Create a static method called findelementindex....
    Computer Engineering :

    Create a static method called findElementIndex, which takes an integer and an integer array as input parameters, and returns the smallest index where that value appears. If the value is not in the a

  • Q : Wap using a loop to add all the elements of a vector....
    Computer Engineering :

    Question 1- Write a program using a loop to add all the elements of a vector. Do not use the MATLAB function sum().include comments . Question 2- Write a program using a loops to add all the element

  • Q : List the parts of a use case diagram and tabular description....
    Computer Engineering :

    Question 1- List the parts of a Use case diagram and tabular description. Question 2- Construct both the Use case and Sequence diagrams for the process of registration of classes at a university.

  • Q : What is parallel processing amd multiprocessing....
    Computer Engineering :

    Question 1- Explain by providing an example, why MIPS is not an accurate measure for computing performance among computers? Question 2- What is parallel processing amd multiprocessing.

  • Q : Write static method method called longest to pass arraylist....
    Computer Engineering :

    Write a static method method called longest, which is passed an ArrayList of strings, and which returns the length of the longest string in the array, an int. (Of course several may have the longest

  • Q : What would be the encoding regarding mips....
    Computer Engineering :

    In a MIPS32 program, the instruction at memory address 0x0040_8400 is j end_if which jumps to the label end_if which is at memory address 0x0040_928C. What would be the encoding of this instruction?

  • Q : Write a hdfs program to divide a file in hdfs into n files....
    Computer Engineering :

    Question 1- Calculate the time necessary to perform a multiply using the approach described in the text (31 adders stacked vertically) if an integer is 8 bits wide and an adder takes 4 time units. Q

  • Q : Draw a state diagram for an fsm....
    Computer Engineering :

    Draw a state diagram for an FSM that has an input X and an output Y. Whenever X changes from 0 to 1, Y should become 1 for two clock cycles and then return to 0 -- even if X is still 1.

  • Q : Write a select statement that returns three columns of table....
    Computer Engineering :

    Write a SELECT statement that returns three columns: EmailAddress, OrderID, and the order total for each customer. To do this, you can group the result set by the EmailAddress and OrderID columns. I

  • Q : Discuss the concepts of project management....
    Computer Engineering :

    Question 1- Why is it important that each cin statement should be preceded by an accompanying cout statement? Question 2- Discuss the concepts of Project Management and how those concepts can assist I

  • Q : How to determine the growth function and order....
    Computer Engineering :

    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(co

©TutorsGlobe All rights reserved 2022-2023.