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

    Step 2: Think of good variable names for the following pieces of data that will need to be stored with in this program.…

    • 777 Words
    • 4 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Homework Unit 3

    • 354 Words
    • 2 Pages

    1. Statements are execute in order according to the program code. Complex programs can need the help of a decision structure. Statements have to be true to be executed.…

    • 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
  • Powerful Essays

    Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6 Chapter 7 Chapter 8 Chapter 9 Chapter 10 Chapter 11 Chapter 12 Chapter 13 Chapter 14 Chapter 15 Chapter 16 Chapter 17 Chapter 18 Chapter 19 Chapter 20 Chapter 21 Chapter 22 Chapter 23 Chapter 24 Chapter 25 Chapter 26 Chapter 27 An Introduction to Hardware, Software, and the Internet An Introduction to Software Development Objects and Classes Algorithms Java Syntax and Style Data Types, Variables, and Arithmetic Boolean Expressions and if-else Statements Iterative Statements: while, for, do–while Implementing Classes and Using Objects Strings Class Hierarchies and Interfaces Arrays…

    • 3908 Words
    • 16 Pages
    Powerful 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
  • Powerful Essays

    EAS230Syllabus

    • 1748 Words
    • 8 Pages

    An introduction to computer programming with an emphasis on problem solving will be presented. Specific topics include:…

    • 1748 Words
    • 8 Pages
    Powerful 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
  • 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

    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

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

    • 2916 Words
    • 12 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

    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
  • 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