JNTUGV B. Tech. R23 I Year-I Semester COMPUTER PROGRAMMING LAB

 

COMPUTER PROGRAMMING LAB

(Common to All branches of Engineering)

=========================================================================
Course Objectives:
=========================================================================

The course aims to give students hands – on experience and train them on the concepts of the C- programming language.

=========================================================================
Course Outcomes: 
=========================================================================

CO1: Read, understand, and trace the execution of programs written in C language.

CO2: Select the right control structure for solving the problem.

CO3: Develop C programs which utilize memory efficiently using programming constructs like pointers.

CO4: Develop, Debug and Execute programs to demonstrate the applications of arrays, functions, basic concepts of pointers in C.


=========================================================================

=========================================================================
UNIT I
=========================================================================

WEEK 1
Objective: Getting familiar with the programming environment on the computer and writing the first program.
Suggested Experiments/Activities:
Tutorial 1:
Problem-solving using Computers.
Lab1: Familiarization with programming environment
###################################################################################
i) Basic Linux environment and its editors like Vi, Vim & Emacs etc.
ii) Exposure to Turbo C, gcc
iii) Writing simple programs using printf(), scanf()
###################################################################################

WEEK 2
Objective: Getting familiar with how to formally describe a solution to a problem in a series of finite steps both using textual notation and graphic notation.
Suggested Experiments /Activities:
Tutorial 2:
Problem-solving using Algorithms and Flow charts.
Lab 2: Converting algorithms/flow charts into C Source code.
###################################################################################
Developing the algorithms/flowcharts for the following sample programs
i) Sum and average of 3 numbers
ii) Conversion of Fahrenheit to Celsius and vice versa
iii) Simple interest calculation

###################################################################################

WEEK 3
Objective: Learn how to define variables with the desired data-type, initialize them with appropriate values and how arithmetic operators can be used with variables and constants.
Suggested Experiments/Activities:
Tutorial 3:
Variable types and type conversions:
Lab 3: Simple computational problems using arithmetic expressions.
##################################################################################
i) Finding the square root of a given number
ii) Finding compound interest
iii) Area of a triangle using heron’s formulae
iv) Distance travelled by an object

###################################################################################


No comments

File Uploading in PHP

  File Uploading in PHP PHP allow you to upload any type of a file i.e. image, binary or text files.etc..,PHP has one in built global variab...