Definiteness is one of the properties of an algorithm

Assignment Help Data Structure & Algorithms
Reference no: EM13338936

I. Say whether the following statements are true or false.

1) Definiteness is one of the properties of an algorithm.

2) Graph is a linear data structure.

3) A tree is a connected graph.

4) The data structure used by recursion is stack.

5) Queue works on the strategy "First in First out".

II. Using suitable word or phrase fill up the blanks in the following sentences:

1) _____________is the process of executing a correct program on data sets and measuring the time and space.

2) Tree is a_____________data structure.

3) For a graph with 'n' number of nodes the number of edges to form a tree is _____________

4) "Last in First out" Data structure is referred to as _____________

5) A binary tree of depth 'K' has maximum of_____________number of nodes.

6) A _____________is a graph without self loop and parallel edges.

7) The two methods of searching are_____________and_____________

III. Write brief answers to the following questions:

1) Define algorithm. What are its properties?

2) Give atleast four real life examples where we use stack operations.

3) Differentiate full and complete binary trees.

4) What are the demerits of recursion?

Reference no: EM13338936

Questions Cloud

What is the linear data structure : what is the linear data structure ? Give example .Describe how an array is represented.
Find his terminal speed if he falls feet first : A 81.0 skydiver can be modeled as a rectangular "box" with dimensions 18.0x 44.0 x 185. What is his terminal speed if he falls feet first
Design an algorithm to sort the elements using merge sort : What are preorder, Inorder, postorder traversals of a binary tree? Design recursion algorithms to implement them and explain with the help of an example.
What could encourage or force companies to change to ipv6 : What could encourage or force companies to change to IPv6?
Definiteness is one of the properties of an algorithm : Using suitable word or phrase fill up the blanks in the following sentences.
How much out-of-pocket payment will mr smith be responsible : How much will Medicare pay Dr. Johnson if Dr. Johnson is a Medicare participating physician? How much out-of-pocket payment will Mr. Smith be responsible for?
What are the properties of an algorithm : What is a first-in-first-out data structure ? Write algorithms to perform the following operations on it - create, insertion, deletion, for testing overflow and empty conditions.
What is the tire pressure in pascals : An automobile tire is inflated with air originally at 10.0°C and normal atmospheric pressure. What is the tire pressure in pascals
What are the two methods of representing a binary tree : What is a first-in-first-out data structure ?  Write algorithms to perform the following operations on it - create, insertion, deletion, for testing overflow and empty conditions.

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Diameter bounded minimum spanning tree of graph by prim-s

Modify Prim's or Kruskal's algorithm to determine diameter bounded minimum spanning tree of complete graph. A diameter bounded minimum spanning tree is spanning tree.

  Create algorithm to read file of employee records

Create the algorithm which will read the file of employee records and produce the weekly report of gross earnings for those employees.

  Irected graph g = (v,e) in which edges that leave the source

Suppose that we are given a weighted, directed graph G = (V,E) in which edges that leave the source vertex s may have negative weights, all weights are nonnegative, and there are no negative-weight cycles. Argue that Dijkstra's algorithm correctly fi..

  System administrators database, network and application

What methods would you use to effectively manage a team of system administrators database, network, application working in your data center?

  Inventory tracking database

Construct a relational database of your choice. The DB should contain no more than six tables. Define three business requirements that this database will provide.

  Design algorithm to receive two integer items from terminal

Design an algorithm that will receive two integer items from a terminal operator, and display to the screen their sum, difference, product and quotient.

  Graph theory

Let  A  be a graph that has an Euler circuit. Prove (or disprove) that all graphs that are isomorphic to  A  have at least on Euler circuit.

  Use sequential search algortithm to locate the number

These numbers should be stored in an array. Use the sequential search algortithm to locate the number entered by the user. If the number is in the array, the program should display a message.

  Creating sql statements

Create three SQL statements: the 1st statement should add pending amounts to appropriate accounts, the second statement should subtract the pending amounts from appropriate accounts,

  Creating two arrays of integers

Prepare two arrays of integers, each holding 10-elements of data. Make a third array of integers for a result array. The main program will take the 2-arrays of integers and pass them to the function subtract().

  Create a flowchart that programs a robot to recognize

Create a flowchart that programs a robot to recognize how many playing cards you have and to put them in order from smallest to largest

  Creating code for a class called arrayqsn

Create all the code for a class called ArrayQsn. This class will contain 2-techniques. The first technique runningSumMean accepts an array of ints as a parameter, and will return the mean of the values as a double.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd