Posts

Circumference of Circle in C programming language

Image
      Circumference of Circle    #include<stdio.h> int main() {  int radius; float cir; printf("Enter Radius of the Circle: "); scanf("%d",&radius); cir=2*3.14*radius; printf("Circumference of the Circle: %.2f",cir);  return 0;  } /* OUTPUT: Enter Radius of the Circle : 5 Circumference of the Circle: 31.40 */

Introduction of Data Structure

Image
                Data Structure  Introduction Data Structure can be defined as the group of data elements which provides an efficient way of storing and organising data in the computer so that it can be used efficiently. Some examples of Data Structures are arrays, Linked List, Stack, Queue, etc. Data Structures are widely used in almost every aspect of Computer Science i.e. Operating System, Compiler Design, Artifical intelligence, Graphics and many more. Data Structures are the main part of many computer science algorithms as they enable the programmers to handle the data in an efficient way. It plays a vitle role in enhancing the performance of a software or a program as the main function of the software is to store and retrieve the user's data as fast as possible Basic Terminology Data structures are the building blocks of any program or the software. Choosing the appropriate data structure for a program is the most difficult task for a pr...

Bubble Sort 🫧🫧

Image
                // Bubble Sort  #include <stdio.h> int main()  { int array[50], n. i, j, swap; printf("Enter number of elements\n"); scanf("%d", &n); printf("Enter %d integers\n", n); for (i=0; i < n; i++)  scanf("%d", &array[i]); for (i=0; i< (n - 1); i++)  { for (1 = 0: jn1-1; j++)  { if (array[j]> array[j+1]) /* For decreasing order use < */ swap = array[j]; array[j] = array(j + 1];  array[j+1]= swap; } printf("Sorted list in ascending order: \n"); for (i=0; i < n; i++) printf("%d\n", array[i]); return 0; } Output: Enter number of elements 5 Enter 5 integers 20 90 0  -23  78  Sorted list in ascending order: -23  0 20 78 90  

Statistics Concept, Significance and Data

Image
  Statistics Concept, Significance and Data    Definition of Statistics There have been many definitions of the term 'Statistics' which can be broadly classified in two senses: 1. Statistics in Plural Sense 2. Statistics in Singular Sense   Statistics in Plural Sense As a plural noun statistics is used for denoting numerical and quantitative information. Thus, in plural sense, it means the same thing as data. For example, statistics of scores in a cricket match, trade related statistics, labour statistics, census statistics, godown statistics and so on. All the quantitative observations are not statistics but those quantitative observations which satisfy certain conditions are called 'Statistics'. Also, economist Horace Secrist , defined 'Statistics' as: "By Statistics we mean aggregates of facts affected to a marked extent by multiplicity of causes, numerically expressed, enumerated or estimated according to reasonable standards of accuracy, collected in a...

Attitudes 😏😎 in organisation behaviour (BCA)

Image
                    ATTITUDES 1. Meaning and Definition of Attitudes A ttitude is a relatively permanent organizing or cognitive, perceptual, emotional, and motivational process with respect to some aspect of our environment. It is primarily a learned predisposition to respond in a consistently favourable or unfavourable manner with respect to a given object. Thus, an attitude is the way we think, feel, and act toward some aspect of our environment.  Attitudes, especially personal attitudes, have a key bearing on how an individual functions within the organisation, particularly as these attitudes may be reflected in positive or negative behaviour. Sometimes attitudes may be influenced by the organisation itself, and one of the challenges facing the modern manager may be how to effect an attitude change in the organisation within the broad context of cultural or strategic change. Attitude is a state of mind of an individual towards s...

Basic Computer 🖥️💻 Organisation

Image
    Basic Computer Organization In this chapter you will learn about: • Basic operations performed by all types of computer systems  • Basic organization of a computer system • Input unit and its functions • Output unit and its functions • Storage unit and its functions. • Types of storage used in a computer system • Arithmetic Logic Unit (ALU) • Control Unit (CU) • Central Processing Unit (CPU)  • Computer as a system  The Five Basic Operations of a Computer System • Inputting. The process of entering data and instructions into the computer system. • Storing. Saving data and instructions to make them readily available for initial or additional processing whenever required . • Processing. Performing arithmetic operations (add, subtract, multiply, divide, etc.) or logical operations (comparisons like equal to, less than, greater than, etc.) on data to convert them into useful information. • Outputting . The process of producing useful information or results for ...