Arraysq1-write a program to find average marks obtained by

Assignment Help Data Structure & Algorithms
Reference no: EM13371415

Arrays

Q1-write a program to find average marks obtained by 10 students in a test along with algorithm?

Q2 -write a menu driven program using function to perform following operations on 1 d array?

A-    Initialize 1- d array

B-    Print 1- d array

C-    Insert after along with algo

D-   Insert before along with algo

E-     Delete along with algo

F-     Saerch along with algo

G-   Replace along with algo

H-   Sort along with algo

I-       To find maximum value along with algorithm

J-      To find minimum value along with algorithm

Q3 -write a menu driven program using function to perform following operations on 2- d array?

A-    Initialize 1- d array

B-    Print 1- d array

C-    Addition of two matrices along with algo

D-   Subtraction of two matrices along with algo

E-     Multiplication of two matrices along with algo

F-     Transpose  of matrix

G-   To check wheather a matrix is diagonal or not

H-   To check wheather a matrix is symmetric or not

I-       Print values of lower tringular in matrix along with algo

J-      Print values of upper tringular in matrix along with algo

String

Q4 -write a menu driven program to perform following operations?

A-    Find length of string

B-    Copy on string to another string

C-    To concat two string

D-   Function for string comparision

E-     To check string for pallindrome or not

F-     To find sub string in long string

G-   To convert lower case letter to upper case letter

Recursion

Q5- write recursion function for the following:

A-    Factorial number

B-    Fibonacci series

Linked list

Q6- write a program of ordered linked list to perform the following operation:

A-    Create

B-    Insert along with algorithm

a.   At first

b.   At mid

c.    At last

C-    Delete along with algorithm

a.     At first

b.     At mid

c.      At last

D-   Display

E-     Count no. Of nodes in the list

F-     Search for a values in the first along with algorithm

G-   To reverse the linked list

Q7- write a program of unordered linked list to perform the following operation:

A-    Create

B-    Insert

a.     At first

b.     At mid

c.      At last

C-    Delete

a.     At first

b.     At mid

c.      At last

D-   Display

Q8- write a program of doubly linked list to perform the following operation:

A-    Create

B-    Insert along with algorithm

a.     At first

b.     At mid

c.      At last

C-    Delete along with algorithm

a.     At first

b.     At mid

c.      At last

D-   Display

Stacks & queue

Q 9- write a program of stack to perform the following operations using array along with algo:

         a- push

              b- pop

              c-peek

              d- function to convert infix expression to postfix

              e- function to convert infix expression to prefix

              f- display

Q 10-  write a program of stack to perform the following operations using linked list along with algo:

         a- push

              b- pop

              c-peek

    d- display

Q 11- write a program of queue to perform the following operation using array along with algorithm:

    a- insert

    b- delete             

    c- display

Q 12- write a program of queue to perform the following operation using linked list  along with algorithm:

    a- insert

    b- delete             

    c- display

Q 13- write a program of circular queue to perform the following operations:

    a- create

    b- insert

    c- delete              

    d- display

tree

Q14 - write a program of binary search tree to perform  the following operations:

  • Createalong with algorithm
  • Insert along with algorithm
  • Delete along with algorithm
  • Search along with algorithm
  • Count no. Of nodes in a tree
  • In - order traversal(recursive&non recursive) along with algorithm
  • Pre - order traversal(recursive&non recursive) along with algorithm
  • Post - order traversal(recursive&non recursive) along with algorithm

Q 15- construct a binary search tree where input list is:

15, 16, 5, 10, 8, 19, 4, 6, 17, 5, 21, 18, 10, 15, 6

Find its inorder, preorder, postorder traversal

Q16- suppose the following sequence first the nodes of a binary t in preorder and inorder:

Preorder: g b q a c k f p d e r m

Inorder:  q b k c f a g p e d h r

Q17-  insert the following list of element in an avl tree:

                             3 , 5 , 11 , 8 , 4 , 1, 12 , 7, 2 , 6,  10

Q18- write a menu driven program to perform following operation along with algorithm:

  • Linear search
  • Binary search
  • Selection sort
  • Bubble sort
  • Insertion sort
  • Quick sort
  • Merge sort
  • Heap sort

Reference no: EM13371415

Questions Cloud

Question 1 a two-way anova model was used to analyze an : question 1 a two-way anova model was used to analyze an experiment with two levels of one factor three levels of a
To create an onlinenbsp parking systemnbsp with phpmysql or : to create an onlinenbsp parking systemnbsp with phpmysql or any other coding language suitable thatallowsnbsp user real
1 labforensic collection and analysis of persistent : 1 labforensic collection and analysis of persistent datawrite up your lab experience including the necessary steps
1 write a statistical laboratory report using the : 1 write a statistical laboratory report using the guidelines in the assigned article how to write a statistical report.
Arraysq1-write a program to find average marks obtained by : arraysq1-write a program to find average marks obtained by 10 students in a test along with algorithm?q2 -write a menu
Question equity transactions and adjustments statement of : question equity transactions and adjustments statement of changes in equity.on 30 june 2013 the equity of lilium ltd
A group of students have collected mechanical data on a mts : a group of students have collected mechanical data on a mts machine from chicken cartilage.nbsp specifically they have
Whats being asked of me i cant do i need help i need this : whats being asked of me i cant do. i need help i need this spreadsheet done because i am sooooo lost. it says refer to
Work-based learning log guidelinesyou must choose and : work-based learning log guidelinesyou must choose and describe one to three theories ideas or management practices from

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Calculate the total weights and values of each subset

Use the decrease-by-one technique to generate the power set and calculate the total weights and values of each subset, then find the largest value that fits into the knapsack and output that value.

  Explaining view of header and footer areas of worksheet

In which view can you see header and footer areas of worksheet?

  Scaled and unscaled value of solution that algorithm finds

For each value of ε, give items included and scaled and unscaled value of solution that algorithm finds. For tables, you only require to show those rows which correspond to values less than or equal to scaled value of this solution.

  Algorithm for string of numbers recognize all the substrings

Write down algorithm, using pseudocode, to perform the following task, Given a string of numbers, recognize all of the substrings that form numbers that are divisible by 3.

  Analyze algorithm to determine length of longest substring

Explain and analyze the algorithm to determine the length of longest substring that appears both forward and backward in an input string T[1 . n].

  Write a method that finds the average age of the students

Write a method that finds the average age of the students stored in the data structure and some Java code that could be used in a test program to display the value returned by the method on the console or command prompt.

  Object identifier tree

Assume you worked for a United States based corporation that wanted to develop its own MIB for managing a product line. Where in the object identifier tree would it be registered?

  Portfolio planning using optimization

Set this problem up as a linear programming model in Excel, and use Solver to determine how the $10 million should be invested. What is the overall return (in dollars terms)

  Explaining elementary operations used in algorithm

How many elementary operations are used in algorithm given below? The elementary operations are comparison operations (such as > and

  Develop the pseudo code need

Develop the pseudo code needed to find the average of ten 8-bit numbers. Use a loop.

  Compare the array-based and link-based implementations

Compare the array-based and link-based implementations of the ADT bag operation

  Creating seven subnets on the network

Assume your corporation is assigned the network address 150.50.0.0. You need to construct seven subnets on the network. A router on one of the subnets will connect the network to Internet

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