CS I Sem Syllabus



PVKN Govt. College (A), Chittoor

I B.Sc., SEMESTER –I: COMPUTER SCIENCE PAPER – I
(Computer Fundamentals and Programming in C)

  Subject Code: 18-CSC-101                              Credits: 03                          Teaching Hrs/Week : 4


SYLLABUS
Course Outcome
After successful completion of the course, students will be able to explore the knowledge in Computers, Demonstrate knowledge in: Elements of C Language, Selection and Repetition statements, Arrays, Strings and Functional statements. Structures, Unions, and Enumerated data types, Files and Pointers. Write programs using ‘C’ language to implement algorithms.

UNIT-I                                                                                                                                   12 H
Introduction to computers: Characteristics and limitations of computer, Block diagram of computer, types of computers, uses of computers, computer generations. Input and output devices: Keyboard and mouse, Types of Software: system software, Application software, commercial, open source, domain and free ware software, Memories: primary, secondary and cache memory. Windows basics: desktop, start menu, icons.

UNIT-II                                                                                                                               10 H
Introduction to C: Introduction, Structure of C Program, Writing the first C Program,  Compiling and Executing C Programs , Using Comments, Keywords,  Identifiers, Basic Data Types in C , Variables, Constants, Separators,  I/O Statements in C,  Operators in C, Programming Examples , Type Conversion and Type Casting. 

Unit –III                                                                                                                             12 H
Decision Control and Looping Statements: Introduction to Decision Control Statements, Conditional Branching Statements, Iterative Statements, Nested Loops, Break and Continue Statement, Goto Statement.
Functions: Introduction,  using functions, Function declaration/ prototype, Function definition, function call, return statement, Passing parameters, Types of Functions, Scope of variables, Storage Classes, Recursive function.

Unit –IV                                                                                                                             12 H
Arrays: Introduction, Declaration of Arrays, Accessing elements of the Array, Storing Values in Array, Operations on Array, One dimensional array for inter-function communication, Two dimensional Arrays, Operations on Two Dimensional Arrays. 
Strings: Introduction to Strings, String handling functions, Character functions.

Unit-V                                                                                                                                    14 H
Pointers: Understanding Computer Memory, Introduction to Pointers, declaring Pointer Variables, Pointer Expressions and Pointer Arithmetic, Null Pointers, Generic Pointers, Passing Arguments to Functions using Pointer, Pointer and Arrays.
Structure, Union, and Enumerated Data Types: Introduction, Nested Structures, Arrays of Structures, Unions, Enumerated Data Types.  
Files: Introduction to Files, Using Files in C, Reading Data from Files, Writing Data to Files, Detecting the End-of-file, Close a file, Random Access Files, Binary Files, Command line arguments.

REFERENCE BOOKS:
  1. Byron Gottfried and Jitender Kumar C “Programming with C,” Third Edition, McGraw Hill Education (India) Pvt, Ltd, New Delhi, 2016.
  2. PradipDey and Manas Ghosh, “Programming in C”, Second Edition, Oxford University Press, NewDelhi, 2007.









PVKN Govt. College(A), Chittoor

I B.Sc., SEMESTER –I: COMPUTER SCIENCE PAPER – I
(Computer Fundamentals and Programming in C)

MODEL QUESTION PAPER



Subject Code: 18-CSC-101                              Time : 3 hrs                             Max Marks : 75 M


SECTION – A
Answer any FIVE of the following Short Answer Type Questions                    5X5 =25 M
1.      Write about open source software.
2.      What is cache memory.
3.      Explain Basic data types in C.
4.      Differentiate between keywords and identifiers.
5.      Write a C program to demonstrate goto statement in C.
6.      Describe the scope of variables.
7.      List character functions with syntax.
8.      Explain operations on single dimensional arrays.
9.      Explain pointer arithmetic.
10.  Write about binary files.
SECTION – B
Answer ALL the following Questions                                                                  5X10 =50 M
Unit –I
11.  Write about various types of softwares.
Or
12.  Explain different types of memories.
Unit- II
13.  Explain I/O statements in C with example programs.
Or
14.  Explain type conversion and type casting with example.
Unit –III
15.  Explain types of user defined functions with syntax.
Or
16.  Write a C program to find whether a given year is leap year or not.
Unit- IV
17.  Explain various string handling functions with example.
Or
18.  Write a C program to find multiplication of two matrices.
Unit –V
19.  Write about nested structures with an example program.
Or
20.  Explain the random accessing of files with example.





  


PVKN Govt. College(A), Chittoor

I B.Sc., SEMESTER –I: COMPUTER SCIENCE PAPER – I P
(Computer Fundamentals and Programming in C Lab)

Subject Code: 18-CSC-101P                            Credits: 02                          Teaching Hrs/Week : 3



PRACTICALS SYLLABUS and MODEL QUESTION PAPER

List of Experiments/Programs:
  1. C program to find whether a given number is Palindrome or not.
  2. C program to perform desired arithmetic operation using switch case statement.
  3. C program to display Fibonacci series.
  4. C program to check whether a given number is Armstrong number or not.
  5. C program to print prime numbers up to N.
  6. C program to find addition of two matrices.
  7. C program to find multiplication of two matrices.
  8. C program to copy one string into another without using string handling function.
  9. C program to reverse a given string without using string handling function.
  10. C program to swap two numbers using call by reference.
  11. C program to find factorial of a number using recursion.
  12. C program to display Student’s information using structures.
  13. C program to write and read data from a file.
  14. C program to copy contents of a file into another file.

The duration of each practical examination is 3 hrs with 50 marks, which are to be distributed as 30 marks for experiment, 10 mark for viva and 10 marks for record .



Practicals                                                                                50 marks
Program 1 Writing and Execution                                          5+10
Program 2 Writing and Execution                                          5+10
Viva-Voce                                                                               10
Record                                                                                    10 

Comments

Popular Posts