Preview

Operators in C

Good Essays
Open Document
Open Document
581 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Operators in C
CSE-101/102 PROBLEM SOLVING USING COMPUTERS [3 1 0 4]
1. Introduction to Computers
Block diagram of a computer, Hardware, Software-system software and application software, Language translators, computer memories, introduction to operating system, Number System - binary, decimal, octal, hexadecimal, 1’s complement, 2’s complement. 3 hrs
2. Algorithms and Flowcharts
Problem Solving steps, Definition of Algorithm, Characteristics of an algorithm, Algorithmic notations, Writing algorithms for simple problems, Space complexity, Time complexity, Definition of flowchart, Flowchart symbols, Writing flowcharts for simple problems 6 hrs
3. C++ Fundamentals
The C++ character set, identifiers and keywords, data types, variables, declarations, statements, C++ program structure, Simple I/O operations. 3 hrs

4. Operators and Expressions
Operator precedence and associativity, arithmetic operators, relational operators, logical operators, increment and decrement operators, bitwise operators, assignment operators, conditional operator, comma operator, type conversions, arithmetic expressions, evaluation of expressions. 4 hrs

5. Flow of Control
Statements and blocks, simple if, if-else, nested if statements, else-if ladder, switch–case statement, looping constructs- entry controlled and exit controlled loops, break and continue statements, exit statement, problem solving using above statements . 5 hrs

6. 1-Dimensional and 2-Dimensional Arrays
1-D arrays- Declaration and Initialization, programs on array manipulation, sorting (selection and bubble sort techniques), searching (linear and binary search techniques), 2-D arrays-basics, simple programs on matrix manipulation, strings-operation on strings, built-in string handling functions, programs on strings. 6 hrs
7. Functions
Modular programming,



References: 1. E.Balaguruswamy, “Computing Fundamentals & C Programming”, Tata McGraw Hill, 2008. 2. E. Balaguruswamy, “Object Oriented Programming with C++”, 3rdedition, Tata McGraw Hill, 2007.

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Homework Unit 3

    • 354 Words
    • 2 Pages

    4. AND operator- combines more than one condition in a program. Makes a compunf Boolean operation.…

    • 354 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    The purpose of this Lab. is to familiarize student how to solve practical problems programmatically; they will practice on elementary programming using primitive data types, variables, constants, operators, expressions, and input and output. Also, they will learn how to diagnose errors that may occur when a program is compiled or executed. There are some exercises, through which they will understand the concept learn in this chapter.…

    • 2338 Words
    • 10 Pages
    Powerful Essays
  • Powerful Essays

    Pt1420 Unit 1 Assignment 2

    • 1305 Words
    • 6 Pages

    Das, D., Gregersen, E., Hosch, L., Lotha, G., Sampaolo, M., Sinha, S. (2014). C++. In Encyclopedia Britannica.…

    • 1305 Words
    • 6 Pages
    Powerful Essays
  • Satisfactory Essays

    CS 220 – Programming w/ Data Structures: You have missed one assignment and one quiz. Your instructor has extended your assignment due date to this Sunday, April 10. Your instructor has also let you to take your Quiz # 2 during his office hours during this week. Let me know if you need additional support to study for this quiz. Your grade to date in this class is 30.2/37 81.62% B.…

    • 354 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Comp 220

    • 1463 Words
    • 6 Pages

    Pointers also have the requirement that the pointer type must be of the same data type as the variable, or the data that it points to or holds the address of. The power of pointers also hints at the potential complexity of their use, which is why this lab is focused almost entirely on several different aspects and uses of pointers. The lab also introduces pointer arrays and pointers to pointers.…

    • 1463 Words
    • 6 Pages
    Good Essays
  • Satisfactory Essays

    CSO Gaddis Java Chapter1 1

    • 2953 Words
    • 29 Pages

    © 2012 Pearson Education, Inc. All rights reserved. Chapter 1: Introduction to Computers and Java Starting Out with Java: From Control Structures through Data Structures Second Edition by Tony Gaddis and Godfrey Muganda Chapter Topics Chapter 1 discusses the following main topics: – Introduction – Why Program? – Computer Systems: Hardware and Software – Programming Languages – What Is a Program Made Of? – The Programming Process –…

    • 2953 Words
    • 29 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Order of Operations

    • 328 Words
    • 2 Pages

    The Operation Symbols that are needed for a person to be familiar with are Muliplication, Division, Addition, and Subtraction.…

    • 328 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Skill questions

    • 318 Words
    • 2 Pages

    3. What are the three key control structures in programming and what are they used for?…

    • 318 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    It210 Syllabus

    • 2333 Words
    • 10 Pages

    College of Information Systems & Technology IT/210 Version 5 Fundamentals of Programming With Algorithms and Logic…

    • 2333 Words
    • 10 Pages
    Good Essays
  • Satisfactory Essays

    In the course, EE 161 Computer Aided Problem-Solving, a C programming class, the engineering concepts were used extensively as all the assignments consisted of creating a program to solve a problem. To complete the assignment successfully, the code had to be well designed, well written, tested with a variety of test cases, and debugged as best as possible. In addition, the program had to be properly documented, include comments, and follow naming conventions.…

    • 391 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    I have learned many things from this class as it relates to computer programming. There are a few areas covered in this course by either the text or in our weekly class discussions about computers and computer programming that stood out to me. This paper is broken up into two discussions. The first part will cover general ideas and skills involved with computers and computer programming. The second part of my paper will go over some topics covered in the text for the class. Some areas that were discussed are as follows: Logic and Decision Structures, Using Repetition Structures, Checking user input for errors and lastly, Using Arrays for more Advanced Programs.…

    • 1406 Words
    • 6 Pages
    Powerful Essays
  • Good Essays

    Plc Lo3

    • 1066 Words
    • 4 Pages

    2. Write a programme using logic functions based on relay ladder logic for e.g a motor controlled by stop and start push button switches and for which one signal light must be illuminated when the power is applied to the motor and another when it is not applied.(assessment criteria 3.2)…

    • 1066 Words
    • 4 Pages
    Good Essays
  • Powerful Essays

    Microcontroller Lab Manual

    • 5274 Words
    • 22 Pages

    Experiment No.3: Arithmetic, Logical & Branching operations. Program 9: Multi byte binary addition Program 10: Multi byte BCD addition Program 11: Multi byte binary subtraction…

    • 5274 Words
    • 22 Pages
    Powerful Essays
  • Good Essays

    Unknown

    • 4395 Words
    • 18 Pages

    Data Structures Computer Systems Architecture EL – II (Language) Calculus and Geometry Software Lab based on 203 Lab based on 204…

    • 4395 Words
    • 18 Pages
    Good Essays
  • Good Essays

    1.2 Write a Java program to display default value of all primitive data types of…

    • 2916 Words
    • 12 Pages
    Good Essays