Computer Programming Lab
Exercise - 1 Basics
1-a) What is OS Command, familiarization of Editors- vi,Emacs.
1-b) Using commands like mkdir, ls, cp, mv, cat, pwd, and man
1-c) Write a C Program to Perform Adding, Subtraction, Multiplication and Division of two numbers.
Exercise - 2 Basic Math
2-a) AIM: Write a C Program to Simulate 3 Laws at Motion.
2-b) AIM: Write a C Program to convert Celsius to Fahrenheit and vice versa
Exercise – 4 Control Flow - II
Exercise - 3 Control Flow - I
Exercise – 5 Functions
Exercise – 6 Control Flow - III
Exercise – 7 Functions - Continued
Exercise – 8 Arrays
Exercises - 9 Structures
Exercise - 10 Arrays and Pointers
Exercise – 11 Dynamic Memory Allocations
Exercise – 12 Strings
Exercise -13 Files
Exercise - 14 Files Continued
13-a) AIM: Write a C programming code to open a file and to print it contents on screen.
Exercise - 15: System Hardware & Software
Exercise - 16: MS Office & Networking
3-a) AIM: Write a C Program to Find Whether the Given Year is a Leap Year or not.
3-b) AIM: Write a C Program to Add Digits and Multiplication of a number.
JNTUK B.Tech 1 Year - 1 Semester
Computer Programming Lab
Prepared by - Srinivas Adapa, Associate Professor, CSE Department, CITM, Kothavalasa, Vizianagaram.
4-a.1) AIM: Write a C Program to Find Whether the Given Number is Prime or not.
4-a.2) AIM: Write a C Program to Find Whether the Given Number is Armstrong or not.
4-b) AIM: Write a C Program to print Floyd Triangle
4-c) AIM: Write a C Program to print Pascal Triangle
5-a) AIM: Write a C Program demonstrating of parameter passing in Functions and returning values.
5-b.1) AIM: Write a C Program illustrating Fibonacci with Recursion without Recursion.
5-b.2) AIM: Write a C Program illustrating Factorial with Recursion without Recursion.
6-a) AIM: Write a C Program to make a simple Calculator to Add, Subtract, Multiply or Divide Using switch…case
6-b) AIM: Write a C Program to convert decimal to binary and hex (using switch call function the function)
AIM: Write a C Program to compute the values of sinx and cosx and epow(x) values using Series expansion. (use factorial function)
8-a) AIM: Write a C program to perform Linear Search.
8-b) AIM: Write a C program to perform Selection sort.
8-c) AIM: Write a C program to perform Bubble sort.
8-d) AIM: Write a C program to perform Addition of matrix.
8-e) AIM: Write a C program to perform Multiplication of matrix.
9-a) AIM: Write a C Program to Store Information of a Movie Using Structure
9-b) AIM: Write a C Program to Store Information Using Structures with Dynamically Memory Allocation
9-c) AIM: Write a C Program to Add Two Complex Numbers by Passing Structure to a Function.
10-a) AIM: Write a C Program to Access Elements of an Array Using Pointer.
10-b) AIM: Write a C Program to find the sum of numbers with arrays and pointers.
11-a) AIM: Write a C program to find sum of n elements entered by user. To perform this program, allocate memory dynamically using malloc () function.
11-b) AIM: Write a C program to find sum of n elements entered by user. To perform this program, allocate memory dynamically using calloc () function.
12-a) AIM: Implementation of string manipulation operations with library function. i) copy ii) concatenate iii) length iv) compare
12-b) AIM: Implementation of string manipulation operations without library function. i) copy ii) concatenate iii) length iv) compare
13-b) AIM: Write a C program to copy files.
14-a) AIM: Write a C program merges two files and stores their contents in another file.
14-b) AIM: Write a C program to delete a file.
15-a) AIM: System Assembling, Disassembling and identification of Parts and Peripherals.
15-b) AIM: Operating System Installation-Install Operating Systems like Windows, Linux along with necessary Device Drivers.
16-a.1) Word - Formatting, Page Borders, Reviewing, Equations, symbols.
16-a.2) Spread Sheet - organize data, usage of formula, graphs, charts.
16-b) Network Configuration and Software Installation-Configuring TCP/IP, Proxy, and firewall settings. Installing application software, system software and tools.
16-a.3) Powerpoint - features of power point, guidelines for preparing an effective presentation.
click to edit
click to edit