3rd Sem, EC Diploma

15EC37P: C- Programming Lab Electronics 3rd Sem Syllabus for Diploma DTE Karnataka C15 Scheme

C- Programming Lab detail DTE Kar Diploma syllabus for Electronics And Communication Engineering (EC), C15 scheme is extracted from DTE Karnataka official website and presented for diploma students. The course code (15EC37P), and for exam duration, Teaching Hr/week, Practical Hr/week, Total Marks, internal marks, theory marks, duration and credits do visit complete sem subjects post given below. The syllabus PDFs can be downloaded from official website.

For all other electronics 3rd sem syllabus for diploma c15 scheme dte karnataka you can visit Electronics 3rd Sem Syllabus for Diploma C15 Scheme DTE Karnataka Subjects. The detail syllabus for c- programming lab is as follows.

Pre-requisites:

Basics of digital electronics and number systems, and logical thinking

Course Objectives:

  1. Understand the need for high-level languages, particularly C, and programming paradigms.
  2. Familiarize with program-development environment and development of simple programs in C
  3. Understand the need and role of data-structures such as arrays, strings and pointers, and functions in C-program development.

Course Outcomes:

For complete syllabus and results, class timetable and more pls download iStudy Syllabus App. Its a light weight, easy to use, no images, no pdfs platform to make students life easier.

Unit-1: Tutorials and PracticeExercises 36 Hours

  1. Introduction
  2. Definition, need, and types of programming languages and their selection criterion.

    • Need for programming language
    • Computer programming languages: Machine language, assembly/low-level language, middle-level language and high-level languages. Features and advantages and disadvantages.
    • Algorithm and methods of writing algorithms: pseudo-code and flowcharts
    • Features of pseudo-code or flow-charts
    • Programming paradigms: Features of procedure oriented programming (POP) and object oriented programming (OOP) paradigms
    • Program development process (writing, editing, compilation, linking, execution and debugging and file extensions) and tools
    • Programming errors: Syntax, semantic, linker, and run-time (logical and data) errors
    • C-program format
    • Introduction to standard input and output statements
    • Variables and constants: Definition, naming (identifiers or labels for different entities), initialization and accessing of variables. Constants and their representation
    • Data types: classification, memory requirement, range of values, usage and type specifiers 10
    • Operators and Operands: Unary, binary and ternary operators. Arithmetic, logical, relational, combinational-assignment and special operators. Precedence and associativity. Unary and binary operands
    • Statements- tokens and expressions
    • Type casting-automatic and forced
    • Escape characters
    • I/O statements in detail
  3. Control structure
    • Branching: Conditional (if, if-else, nested and ladder if-else, switch constructs) and unconditional (brake, continue and goto statements)
    • Looping: Entry-controlled (for and while) and exit-controlled (do while) loops 06
  4. Arrays/Matrices, strings and pointers
    • Definition, declaration, initialization (static and run-time or dynamic) of arrays, strings and pointers
    • Accessing of strings, arrays (one and two dimensional), and pointers 06
  5. Functions
    • Concept, pros and cons, classification, creation and application of functions
    • Parameter passing: Pass by value and address methods
    • Library and user-defined functions
    • Recursive and non-recursive functions
    • Data visibility and longevity 05
  6. User-defined data-type
    • Definition, declaration, initialization of members and variables of structures and unions
    • Distinction between structures and unions
    • Accessing of members of structures and unions 06
  7. Macros Definition, classification and application of macros in program development 03

Practice Exercises

  1. Write algorithm, flow-chart and program for the following problems (Assume relevant data if necessary and right units. Search and use library functions wherever possible).
  2. Display your country name and beep at the end.
  3. Display the following text: C was developed by “Dennis M Ritchie” in 1972
  4. Compute the area and circumference of a circle given the radius
  5. Compute simple interest given the interest rate, principal and duration
  6. Compute compound interest given the interest rate, principal, compounding-nature and duration
  7. Swap contents of two variables without using intermediate variables
  8. Display expenditure incurred against each item, such as fee receipt
  9. Factorial of a single digit number
  10. Absolute value of a number
  11. Verify if the given number is prime or not
  12. Largest of three numbers using if-else and ternary operators
  13. Logarithm of a number.
  14. sin(6i + 62)+cos(6i- 62) given 61 and 62 in degrees
  15. Average of N numbers read through keyboard (i.e, at run-time)
  16. Average of the numbers in an N x M matrix
  17. Search a number in an array of N integers
  18. Verify Pythagoras theorem.
  19. Compute the area and circumference of a circle given the radius using macro for pi.
  20. Find smallest of three numbers using macro
  21. Use function to swap contents of two variables using
    1. by pass-by-value and
    2. pass-by-address methods
  22. Analysis of the program Given the program or block of program code, analyze the same and record the output or error, as the case may be. Justify your answer. Examples,
    1. #include main() { int k=5, l=24; printf(“%f”, k/l); }
    2. #include main() { printf(“Saying by Mahatma\tGhandiji: \nWhat can\”t be tolerated must be endured”); }
    3. int i; for (i=1; i<10; i–);

Unit – 2: Graded Exercises 42 Hours

For complete syllabus and results, class timetable and more pls download iStudy Syllabus App. Its a light weight, easy to use, no images, no pdfs platform to make students life easier.

Unit – 3: Student Activity for CIE

  1. Prepare/Collect notes pertaining to Unit-1 and solve practice programs specified in Unit-1
  2. Collect or write any 10 programs (open-ended) not specified in Unit-1 or Unit-2
  3. Prepare a list of high-level programming languages, collect features of any five such high-level programming languages and collect/prepare material on C-program development tools and their usage.

Institutional Activity (No marks)

The following are suggested institutional activities, to be carried out at least one during the semester. The course teacher/coordinator is expected to maintain the relevant record (Containing, Activity name, Resource persons and their details, duration, venue, student feedback, etc) pertaining to Institutional activities

  1. Organize hands-on practice on installation of Compilers and use of IDE for program development.
  2. Organize seminar on free-open source software
  3. Conduct quiz on C programming

Reference Books:

For complete syllabus and results, class timetable and more pls download iStudy Syllabus App. Its a light weight, easy to use, no images, no pdfs platform to make students life easier.

Course Delivery:

The idea behind this course delivery is to provide relevant tutorial and hands-on practice concurrently. The course will be normally delivered through two-hour tutorials and four-hour hands-on practice per week; hands-on practice shall include practice exercises and graded exercises. Normally, one-hour tutorial followed by two-hour hands-on practice is recommended in each class. In Unit-1, tutorials and practice may be carried out concurrently. However, graded exercise (Unit-II) can also be covered at appropriate point of tutorials of Unit-1. Activities are carried-out off class.

Student Activity (5 marks):

The student activities in Unit-3 or similar activities can be assigned by the teacher

Execution Notes:

  1. Each batch of 2 students is assigned at least one activity listed in Unit-3 based on interest of the students. Student can also choose any other similar /relevant activity with prior approval from the concerned teacher.
  2. Teacher is expected to observe and record the progress of students’ activities
  3. Assessment is made based on quality of work as prescribedby the table

Model Questions for Practice and Semester End Examination

Graded Exercises

  1. Write a C program that computes resistance of any resistor given its colour codesRed-Yellow-Blue and tolerance codeGold.
  2. Write a C program to generate result-class of a set of students given their individual total marks
  3. [Sl No Reg. No. Name of the student Marks obtained out of 600 Result]

    1. ABC 456 ?
    2. ABD 232 ?
    3. XYZ 345 ?
    4. MNO 577 ?
    5. PXY 365 ?
  4. Write a C program to count number of vowels in any given word
  5. Write a C program to multiply two matrices
  6. Write a C program to add two 3×4 matrices
  7. Write a C program to reverse a given word
  8. Write a C program to compute sin
    1. given x in radians using series method; relevant library functions can be used
  9. Write a C program containing a structure to represent book; create five such books and compute the sum of the costs of all the books
  10. Write a C program to simulate an arithmetic calculator that can perform addition, subtraction, multiplication and division
  11. Write a C program to sort an array of N numbers using a user-defined function

For detail syllabus of all other subjects of BE Electronics, C15 scheme do visit Electronics 3rd Sem syllabus for C15 scheme.

Dont forget to download iStudy Syllabus App for latest syllabus and results, class timetable and more.

1 Comment

  1. Km anamika

    Diploma third semester electronic syllabus

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.