Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
46 views
4 pages
Screenshot 2023-08-13 at 5.40.34 PM
Uploaded by
I'm Kenji
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download
Save
Save Screenshot 2023-08-13 at 5.40.34 PM For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
0 ratings
0% found this document useful (0 votes)
46 views
4 pages
Screenshot 2023-08-13 at 5.40.34 PM
Uploaded by
I'm Kenji
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Carousel Previous
Carousel Next
Download
Save
Save Screenshot 2023-08-13 at 5.40.34 PM For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
Download
Save Screenshot 2023-08-13 at 5.40.34 PM For Later
You are on page 1
/ 4
Search
Fullscreen
Paper Name: COMPUTER FUNDAMENTALS AND PROGRAMMING Learning Outcome: #Atthe end of the course, students will be able to: Understand the basies of Computer and programming. * Adopt algorithmic approach to solve problems using pseudocode and flowcharts ‘Understand and write programs in C to implement conditions, loops, functions and other programming constructs = Work on arrays, strings and basic file operations in © Prerequisite: NIL Semester: 1 Course Type: Compulsory Number of required hours: a) Theory: 45 hrs b) Practical: 30 hrs ©) Non Contact: 5 hrs 8. List of reference hooks: a) B.S. Gottfried, “Schaum's Outline of Theory and Problems of Programming with C”, Megraw- Hil, 2007, b)_B. Kemighan, D. Ritehie, Programming Language”, Second Edition, Prentice Hall, 1988 ©) E, Balaguruswami, “Programming in ANSI C”, 2nd Ed., Tata MeGraw Hill, 2004. d)_V. Rajaraman, “Fundamentals of Computer”, 4th Ed., PHI, 2006 ©) R. Thareja, “Computer Fundamentals & Programming in C”, Oxford University Press, 2013, 8. Detailed Syllabus: Unit 1: Computer Fundamentals (9 Lectures) Introduction to computer hardware, software application and system software. Operating systems. Major components of @ Digital Computer — ALU and CU, Memory — primary and secondary memory, Storage devices — magnetic storage devices, optical storage devices, Input devices mouse, keyboard, touch-screen, scanner etc., output devices - CRT/LCD/LED monitors, printers ete, Number systems — binary, octal, hexadecimal, BCD. Conversion between two number systems, Signed magnitude, I's complement and 2's complement representation, Character encodings ~ ASCII, EBCDIC, Unicode. Basic overview of networks and the Internet, WWW. Unit 2: Programming Basies (4 Lectures)Introduction to programming languages. Low-level and high-level language and their characteristics. Compiler vs. interpreter. IDE. Bugs and its types. Algorithms, pseudocodes and flowcharts. Overview of the C programming language. Structure ofa C program. Unit 3: Datatypes and Operators (S Lectures) Basic data types in C - integers, floats, doubles, characters, and void. Size and range of values of data types. Variables. Declaring variables. Operators and expressions, Input and output statements — getchar(), gete(), getch(), putchar(), pute(), puts(), scanfi), printf), format specifiers. Typecasting. Operators in C - binary and unary operators. Arithmetic, assignment, logical, comparison, bitwise and conditional operators. Order of precedence of operators. Associativity of operators. Expressions and statements in C, Levalue and R-value. Basic syntax and semantics for expressions and statements, Unit 4: Control Structures and Functions (8 Lectures) Control structures in C, Decision making with if, if-else, switch statements. Nested conditions. Looping with while, do-while, and for statement. Break and continue statements, Nested loops, Introduction to functions. Function prototypes and arguments. Defining and calling functions in €. Return values and types. Formal and actual parameter. Call by value, Call by reference. Introduction to recursion, Writing recursive functions in C. Importance of main() function, return type of main() function. Unit 5: Arrays and Strings 6 Lectures) Introduction to arrays. Declaration and initialization of arrays. Accessing array elements, Multidimensional arrays. Introduction to strings. Declaration and initialization of strings. String input and output in C. String manipulation functions in C — strlenQ, strepy(), streat(), stremp0. Unit 6: Pointers and Memory Allocation (6 Lectures) Introduction to Pointers. Pointer declaration and initialization. Pointers and addresses. Pointers and arrays. Pointers and functions. Review of call by reference. Pointer arithmetic, Passing an array using pointer in function call. Introduction to dynamic memory allocation, Allocation and deallocation of memory using malloc(), calloc(), and free() functions. Unit 7: Strueture and Union (4 Lectures) Introduction to structures. Declaration and initialization of structures. Accessing structure ‘members. Nested structures and arrays of structures. Unions in C. Declaration and initialization of unions. Accessing union members. Differences between structures and unions. Typedef, Unit 8: File Handling and Preprocessor Directives (4 Lectures) Introduction to file handling in C. Opening and closing files ~ fopenQ, felose(). Modes of opening a file, Binary files and text files. Reading and writing files— fgete(), fgets0, fread), fpute(), fputs0, fwriteQ). File pointers. Error handling in file operations. Preprocessor directives in C - define, Hinclude, #ifdef, #itndef, and endif directives. Using preprocessor directives to define constants and macros. Header files.List of Practical (This is @ suggestive list only. Questions need not be restricted to this list. The practical are advised to be performed in Linux environment. ) 10, IL 12, 1B 14, 15, 16, 17, Write a program in C to print “Hello World” Write a program to take input of two numbers and print their sum, product, difference, Write a program to find the smallest or greatest of three numbers given as input. Write a program to print the sum and product of digits of an integer. Write a program to print a triangle of stars as follows (take number of lines from user) Write a program to reverse a number Write a program to compute the sum of the first n terms ofthe following series S=LH2HB He Write a program to compute the sum of the first n terms of the following series S=1-243-4145. Write a function that checks whether a given string is Palindrome or not. Use this funetion to find whether the string entered by user is Palindrome or not. Write a function to find whether a given no. is prime or not. Use the same to generate the prime numbers less than 100. Write a program to compute the factors of @ given number. Write a program to display Fibonacci series () using recursion, (il) using iteration Write a program to calculate Factorial of a number (i) using recursion, (ii) using iteration Write a program in which a function is passed address of two variables and then alter its contents. Write a program which takes the radius of a circle as input from the user, passes it to another function that computes the area and the circumference of the circle and displays the value of area and circumference from the main() fumetion, Write a program to create an array with inputs from the user and print the same, Write a program to perform following actions on an array entered by the user: a) Print the even-valued elements ) Print the oddevalued elements ©) Calculate and print the sum and average of the elements of array 6) Print the maximum and minimum element of array €) Remove the duplicates from the array Print the array in reverse order The program should present a menu to the user and ask for one of the options. The menu should also include options to re-enter array and to quit the program,18 19, 20. 21. 28, 29. 30. Write a program to take a matrix from the user and print the transpose ofthe same. Write a program to take two matrices from the user and find the sum and product ofboth, Write a program to perform following operations on strings: 8) Convert al lowercase characters to uppercase 'b) Convert all uppercase characters to lowercase ©) Calculate number of vowels in the string 4) Reverse the string ©) Concatenate two strings without using streatQ function. f) Concatenate two strings using streat() function. 2) Compare two strings using strempQ) 1h) Copy one string to another using strepy0) ‘Write a program that swaps two numbers using pointers Write a program to find sum of n elements entered by the user. To write this program, allocate memory dynamically using malloc(/ calloc() functions or new operator. Write a function to accept two arrays as argument and returns their sum as an array Write a program to use @ macro to swap two numbers, ‘Write a program to implement struct in C. Create a structure of Student with RNo, Name and other eedentials with proper datatype and pint the same. ‘Write a program to implement union in C. Create a structure of Petson with Pid, Name and other credentials with proper datatype and print the same. Write aC program that opens file for reading and displays the contents of the file in binary mode and text mode Write a C program that opens a file for reading and displays the contents of the file character by character and line by line on the screen, Write a C program to open a file and count the number of characters and lines inthe file Write @ C program that opens a file in append mode and allows the user to add text to the end of the file Particulars of Course Designer: ‘Name : Risheraj Baruah Contact No, : +91 8486942427 Email id : rishirajbaruah@gauhati.ac.in
You might also like
BSC 2 Sem C Note 2023-24
PDF
No ratings yet
BSC 2 Sem C Note 2023-24
74 pages
Nep-Bca-Sem-1 Syllabus
PDF
No ratings yet
Nep-Bca-Sem-1 Syllabus
11 pages
EEE DS Question Bank
PDF
No ratings yet
EEE DS Question Bank
33 pages
Imp Questions
PDF
No ratings yet
Imp Questions
4 pages
Bachelor of Computer Application (BCA)
PDF
No ratings yet
Bachelor of Computer Application (BCA)
62 pages
CSIT140 - Programming in C
PDF
No ratings yet
CSIT140 - Programming in C
5 pages
Exercices On C Programming Language
PDF
No ratings yet
Exercices On C Programming Language
2 pages
C Programming, Question Paper of BCA (D) 1st Semester, Download Question Paper 1 NORTH INDIA CAMPUS
PDF
100% (1)
C Programming, Question Paper of BCA (D) 1st Semester, Download Question Paper 1 NORTH INDIA CAMPUS
24 pages
PPS Important Topics
PDF
No ratings yet
PPS Important Topics
3 pages
PROGRAMMIN IN C Important Questions
PDF
No ratings yet
PROGRAMMIN IN C Important Questions
2 pages
Iat2 QB
PDF
No ratings yet
Iat2 QB
2 pages
ITP-quesion Bank Set-I
PDF
No ratings yet
ITP-quesion Bank Set-I
8 pages
Sem 1 BSC CS Major
PDF
No ratings yet
Sem 1 BSC CS Major
8 pages
27 B.Sc. Computer Science
PDF
No ratings yet
27 B.Sc. Computer Science
15 pages
Programming in C & Data Structures Syllabus
PDF
No ratings yet
Programming in C & Data Structures Syllabus
6 pages
Bachelor of Computer Application (BCA)
PDF
No ratings yet
Bachelor of Computer Application (BCA)
62 pages
CP Question Bank-1
PDF
No ratings yet
CP Question Bank-1
6 pages
Syllabus - Introduction To C Programing
PDF
No ratings yet
Syllabus - Introduction To C Programing
4 pages
Detailed Syllabus C Programming BIT102
PDF
No ratings yet
Detailed Syllabus C Programming BIT102
6 pages
Important Questions Unit Wise
PDF
No ratings yet
Important Questions Unit Wise
2 pages
24beely105 - PSTC
PDF
No ratings yet
24beely105 - PSTC
3 pages
BCA I & II Sem Syllabus
PDF
No ratings yet
BCA I & II Sem Syllabus
31 pages
B.sc. Computer Science Syllabus 1 and 2
PDF
No ratings yet
B.sc. Computer Science Syllabus 1 and 2
6 pages
R20 PPSC Unit Wise Imp Questions
PDF
No ratings yet
R20 PPSC Unit Wise Imp Questions
4 pages
Pec Cse Pps Course File (5units)
PDF
No ratings yet
Pec Cse Pps Course File (5units)
309 pages
Fe Ecomp - Nep Sem1 Sem2 Syllabus
PDF
No ratings yet
Fe Ecomp - Nep Sem1 Sem2 Syllabus
52 pages
13 - B SC - Computer-Science
PDF
No ratings yet
13 - B SC - Computer-Science
15 pages
CC103-N FOP Question Bank
PDF
No ratings yet
CC103-N FOP Question Bank
3 pages
BPC Syllabus
PDF
No ratings yet
BPC Syllabus
5 pages
PPS QB
PDF
No ratings yet
PPS QB
6 pages
Computer Programming With C
PDF
No ratings yet
Computer Programming With C
5 pages
B.sc. in Computer Science
PDF
No ratings yet
B.sc. in Computer Science
51 pages
Effective English
PDF
No ratings yet
Effective English
12 pages
SEC-101 37icwamy
PDF
No ratings yet
SEC-101 37icwamy
4 pages
Research 3
PDF
No ratings yet
Research 3
3 pages
C Syllabus
PDF
No ratings yet
C Syllabus
6 pages
Syllabus PDF
PDF
No ratings yet
Syllabus PDF
127 pages
Syllabus of Second Year B.E. Computer Engg.
PDF
No ratings yet
Syllabus of Second Year B.E. Computer Engg.
35 pages
Deviation Syllabus of CP
PDF
No ratings yet
Deviation Syllabus of CP
7 pages
I-I CPE SubjectLab Syllabus
PDF
No ratings yet
I-I CPE SubjectLab Syllabus
4 pages
Bpops103 203
PDF
No ratings yet
Bpops103 203
4 pages
Course Title: Programming Fundamentals
PDF
No ratings yet
Course Title: Programming Fundamentals
2 pages
CP Syllabus
PDF
No ratings yet
CP Syllabus
5 pages
102000110 (1)
PDF
No ratings yet
102000110 (1)
5 pages
Computer Programming With C
PDF
100% (1)
Computer Programming With C
5 pages
Lesson Plan Programming in C@2022-23
PDF
No ratings yet
Lesson Plan Programming in C@2022-23
6 pages
1.syllabus Book Updated
PDF
No ratings yet
1.syllabus Book Updated
4 pages
Computer Programming (JNTUH R13) : Jawaharlal Nehru Technological University Hyderabad I Year B.Tech. L T/P/D C 3 - /-/-6
PDF
No ratings yet
Computer Programming (JNTUH R13) : Jawaharlal Nehru Technological University Hyderabad I Year B.Tech. L T/P/D C 3 - /-/-6
7 pages
III Sem BSC (CBCS)
PDF
No ratings yet
III Sem BSC (CBCS)
4 pages
Pic 6-1-17 Co Pos Mapped
PDF
No ratings yet
Pic 6-1-17 Co Pos Mapped
6 pages
Bidyanagar, Mahura, Janla, Bhubaneswar - 752 054 (Orissa) : C.V.Raman College of Engineering
PDF
No ratings yet
Bidyanagar, Mahura, Janla, Bhubaneswar - 752 054 (Orissa) : C.V.Raman College of Engineering
5 pages
PSP
PDF
No ratings yet
PSP
6 pages
CSE101 Syl 2
PDF
No ratings yet
CSE101 Syl 2
2 pages
2019-20-CPS Syllabus Theory Lab
PDF
No ratings yet
2019-20-CPS Syllabus Theory Lab
4 pages
C Programming For Problem Solving
PDF
No ratings yet
C Programming For Problem Solving
5 pages
Gravitation Class 11 Notes Physics Chapter 8 - M-Physics Tutorial
PDF
No ratings yet
Gravitation Class 11 Notes Physics Chapter 8 - M-Physics Tutorial
20 pages
Course Title: Computer Fundamentals and C Programming Course Level: PG Credit Units:05 Course Type: CSIT634 Course Objectives LTP/ S SW/ FW Total Credi T Units
PDF
No ratings yet
Course Title: Computer Fundamentals and C Programming Course Level: PG Credit Units:05 Course Type: CSIT634 Course Objectives LTP/ S SW/ FW Total Credi T Units
5 pages
IT-103 Outline Programing Fundamentals
PDF
No ratings yet
IT-103 Outline Programing Fundamentals
6 pages
Ecosystem - Structure, Functions, Units and Types of Ecosystem
PDF
No ratings yet
Ecosystem - Structure, Functions, Units and Types of Ecosystem
12 pages
Syllabus - CPR 9017
PDF
No ratings yet
Syllabus - CPR 9017
5 pages
Routine2023 24
PDF
No ratings yet
Routine2023 24
11 pages
Environmental Studies Unit 3 - Dev Library
PDF
No ratings yet
Environmental Studies Unit 3 - Dev Library
26 pages
1 Stsem 3 Minor
PDF
No ratings yet
1 Stsem 3 Minor
5 pages