









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










Computer Science (Paper-I)
➢ Data Data means information or set of values is called data. ➢ Data item A single unit of value is called data item.
ii. Double Alternative
3. Looping control flow/Iterative control flow/Repetitive control flow
Module while condn Inc/Dec Initialization
Set LA[K]=ITEM
Condition false LA[3]= N=4+ N=
3. Deletion of Linear Array Delete(LA, N, K, ITEM)
3.Deletion of Linear Array Delete(LA, N, K, ITEM)
Suppose K=2 and ITEM=
Condition false N=4- 1 N=
4. Sorting/ Bubble sort Sort (DATA, N)
Eg:- 2. LA LA[1] LA[2] LA[3] LA[4] LA[5] N= ITEM= LOC= DATA[N+1]=ITEM DATA[4+1]=
Data[1]!= LOC=1+ LOC =
Data[2]!= LOC=2+ LOC=
Data[3]!= LOC=3+ LOC=
Data[4]!= LOC=4+ LOC=
Data[5]!= Condition false Search Unsuccessful Set LOC=
6. Binary search Binary (DATA, LB, UB, ITEM, LOC)
Eg:- ➢ Pointer Array
2. Sequential Representation
A D (^) E F B C