



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!




Refers to a collection of individual values that can take many forms, such as text, images, audio, or video, usually represented with the help of characters such as alphabets, digits, or special characters. CORRECT ANSWER >>>> Data Examples of data are: CORRECT ANSWER >>>> names, ages, prices, costs, numbers of items sold, employee names, etc. Data themselves are fairly useless, but when these data are processed or organized, they become useful and is now called__ CORRECT ANSWER >>>> information. Data needs to be __ to provide information. CORRECT ANSWER >>>> organized __ is a storage that is used to store and organize data. It is a way of arranging data on a computer so that it can be accessed and updated efficiently. **CORRECT ANSWER
** data structure It easy for users to access and work with the data they need in appropriate ways. CORRECT ANSWER >>>> data structure Data Structure It is not only used for organizing the data but also for ___using various algorithms. CORRECT ANSWER >>>> processing, retrieving, and storing data Data structure is classified into two types CORRECT ANSWER >>>> primitive and non- primitive. Also known as basic data structure, it contains fundamental data types that can only
hold single data type values. CORRECT ANSWER >>>> Primitive data structure Examples of primitive data CORRECT ANSWER >>>> integer, character, boolean, float, double, long, etc.
Since elements are arranged in a sequential or particular order, linear data structure is __ CORRECT ANSWER >>>> easier to access. Examples of linear data structures are__ CORRECT ANSWER >>>> array, stack, queue, and linked list. When the elements of a data structure doesn’t stay sequentially or linearly, the data structure is called to be __ CORRECT ANSWER >>>> Non-linear data structure Since the data structure is non-linear, it does not involve a__. Therefore, they can’t_ all of its elements in a single run. CORRECT ANSWER >>>> single level Traverse Examples of non-linear data structures. CORRECT ANSWER >>>> Trees and graphs What are the Data Structure Operations ( enumerate) **CORRECT ANSWER
** Navigating Searching Insertion Deletion Sorting ** data structure Data Structure It is not only used for organizing the data but also for using various algorithms. CORRECT ANSWER >>>> processing, retrieving, and storing data Data structure is classified into two types CORRECT ANSWER >>>> primitive and non- primitive. Also known as basic data structure, it contains fundamental data types that can only hold single data type values. CORRECT ANSWER >>>> Primitive data structure Examples of primitive data CORRECT ANSWER >>>> integer, character, boolean, float, double, long, etc. Since elements are arranged in a sequential or particular order, linear data structure is __ CORRECT ANSWER >>>> easier to access. Examples of linear data structures are CORRECT ANSWER >>>> array, stack, queue, and linked list. When the elements of a data structure doesn’t stay sequentially or linearly, the data structure is called to be __ CORRECT ANSWER >>>> Non-linear data structure Since the data structure is non-linear, it does not involve a. Therefore, they can’t all of its elements in a single run. CORRECT ANSWER >>>> single level Traverse Examples of non-linear data structures. CORRECT ANSWER >>>> Trees and graphs What are the Data Structure Operations ( enumerate) CORRECT ANSWER >>>> Navigating Searching Insertion Deletion Sorting Merging Accessing each data element exactly once so that certain items in the data may be processed CORRECT ANSWER >>>> Navigating Finding the location of the data element or key in the structure. CORRECT ANSWER Searching
Adding a new data element to the structure CORRECT ANSWER >>>>Insertion Removing a data element from the structure CORRECT ANSWER >>>>Deletion Arrange the data elements in a logical order (ascending/descending) CORRECT ANSWER >>>>Sorting Combining data elements from two or more data structures into one CORRECT ANSWER >>>>Merging Defined as a step-by-step procedure or method with a finite set of instructions to accomplish a particular task. CORRECT ANSWER >>>>algorithm Basically, it is not the complete code, rather it is the__ that can be implemented to solve a particular problem. CORRECT ANSWER >>>>logic While defining an algorithm, steps are written in human understandable language and independent of any programming language, which are usually represented by using___ CORRECT ANSWER >>>>flowcharts or pseudocode. Algorithm = CORRECT ANSWER >>>>Algorithm = Input + Process + Output What are the Characteristics of an Algorithm ( enumerate) CORRECT ANSWER
Unambiguous Inputs Outputs Correctness Finiteness Effectiveness
Instructions in an algorithm can be implemented in any language and produce the same results. CORRECT ANSWER >>>>Language Independent Data Flow of an Algorithm (enumerate) CORRECT ANSWER >>>>Problem Algorithm Input Processing Unit Output Usually gives the programmer an idea of the issue at hand, the available resources and the motivation to come with a plan to solve it. CORRECT ANSWER >>>>Problem Programmer designs the step by step procedure to solve the problem efficiently. CORRECT ANSWER >>>>Algorithm Algorithm is designed and the relevant inputs are supplied. CORRECT ANSWER
Input Receives these inputs and processes them as per the designed algorithm. CORRECT ANSWER >>>>Processing Unit Receive the favorable output of our problem statement CORRECT ANSWER Output What Makes a Good Algorithm? CORRECT ANSWER >>>>• It must be correct • It must be finite (in terms of time and size) • It must terminate • It must be unambiguous • It must be space and time efficient