Ask Question, Ask an Expert


Ask Computer Engineering Expert

Q1. Illustrate the parameters on the basis of which an algorithm can be examined?

Q2. Describe Dijkstra’s algorithm for determining the shortest path in a given graph.

Q3. Suppose that the declaration of multidimensional arrays A and B to be, A (-2:2, 2:22) and B (1:8, -5:5, -10:5):

a) Determine the length of each dimension and the number of elements in A and B.

b) Consider the element B[3,3,3] in B. Determine the effective indices E1, E2, E3 and the address of element, supposing Base (B) = 400 and there are W = 4 words per memory location.

Q3. A nasty number is defined as a number that consists of at least two pairs of integer factors in such a way that the difference of one pair equivalents to sum of the other pair.

For illustration, the factors of ‘6’ are 1, 2, 3 and 6. The difference of factor pair (6, 1) is equivalent to the sum of factor pair (2,3), that is, 5. Therefore, ‘6’ is a nasty number.

Select suitable data structure and prepare a program which displays all the nasty numbers present in the list of numbers.

Q4. Use a stack to assess the given postfix arithmetic expression. Show the changing status of stack in a tabular form:

X Y Z ^ * + A B / C + - for X = 1, Y = 5, Z = 2, P=3, A = 15, B = 3, and C = 8

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M910380

Have any Question? 

Related Questions in Computer Engineering

1 how does a vlan save a company time and money2 how does a

1. How does a VLAN save a company time and money? 2. How does a VLAN provide extra security for a network? 3. How does a VLAN reduce network traffic? 4. What is the basis for membership in a VLAN?

1 what is the size of the key space if all 8 characters are

1. What is the size of the key space if all 8 characters are randomly chosen 8-bit ASCII characters? How long does an average key search take with a single PC? 2. How many key bits are used, if the 8 characters are rando ...

Discussion- share with the class a personal experience

Discussion- Share with the class a personal experience where you have dealt with heat stress or a noise problem. What was done to solve the problem? If you do not have a personal experience, then you may research one. Th ...

Technical paper programming for the health care industryits

Technical Paper: Programming for the Health Care Industry It's common knowledge that using computers in the health care industry can improve the quality and effectiveness of care while reducing costs. However, the adopti ...

1 assume we want to connect two isolated hosts together to

1. Assume we want to connect two isolated hosts together to let each host communicate with the other. Do we need a link-layer switch between the two? Explain. 2. If there is a single path between the source host and the ...

1 design and implement a program that compares the use of

1. Design and implement a program that compares the use of linear probing, quadratic probing, and double hashing on a collection of string keys of varying lengths. The program should extract a collection of strings from ...

Compare electric car telsa semi electric hybrid car toyota

Compare electric car Telsa, semi electric (hybrid car) Toyota Prius, and regular fuel efficient cars Toyota Corolla / Honda Civics How long does it take to re charge a Telsa, how long can Telsa travel, where can you rech ...

As we have seen in this chapter public-key cryptography can

As we have seen in this chapter, public-key cryptography can be used for encryption and key exchange. Furthermore, it has some properties (such as nonrepudiation) which are not offered by secret key cryptography. So why ...

Algorithim tasksthis assignment involves creating an

Algorithim / Tasks This assignment involves creating an algorithm. An algorithm (pronounced AL-go-rith-um) is a procedure or formula for solving a problem. We will see in future weeks how the detailed steps of this type ...

Describe the concepts of confidentiality integrity and

Describe the concepts of confidentiality, integrity, and availability (C-I-A), and explain each of the seven domains of a typical IT infrastructure. Summarize the threat triad, and explain how security personnel can main ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

WalMart Identification of theory and critical discussion

Drawing on the prescribed text and/or relevant academic literature, produce a paper which discusses the nature of group

Section onea in an atwood machine suppose two objects of

SECTION ONE (a) In an Atwood Machine, suppose two objects of unequal mass are hung vertically over a frictionless

Part 1you work in hr for a company that operates a factory

Part 1: You work in HR for a company that operates a factory manufacturing fiberglass. There are several hundred empl

Details on advanced accounting paperthis paper is intended

DETAILS ON ADVANCED ACCOUNTING PAPER This paper is intended for students to apply the theoretical knowledge around ac

Create a provider database and related reports and queries

Create a provider database and related reports and queries to capture contact information for potential PC component pro