• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Start selling Create your account
Document preview thumbnail
Preview 2 out of 7 pages
Exam (elaborations)

Tamil

Document preview thumbnail
Preview 2 out of 7 pages

This is one of my best notes

Content preview

PROGRAMMING IN C
TWO MARKS
UNIT-1
1. Define c:
*C is a structured programming language.
*c was developed in 1970s by Dennis Ritchie at bell telephone labarotries.
2.what are character set?
1.letters
2.digits
3.special characters
4.white space
3.define c tokens:
The smallest individual units are known as c tokens.
4.define constant:
Constants are fixed values that do not change during the execution of the program.
5.what is identifier?
Identifiers are referring to the names of variables, functions and arrays. These are the user -defined names.
6.define string constants:
A string constant is a sequence of character enclosed in double quotes.
Example: “hello”
7.what is variable?
A variable is data name that may be used to store the value.
8.define data type and their types:
C language is rich in its data type. There are four types :
Primary or fundamental data type
Derived data type
User defined data type
Empty data type
9.define void:
Void is an empty data type. It returns nothing. The void type has no value.

, 10.define operators:
An operator is a symbol that is to perform mathematical or logical manipulation. It is used in program to
manipulate data and variables.
11.what is called associativity?
If two operators with the same precedence occur in an expression. The order in which they are executed is
called aasociativity.
12.define type conversion:
The operands are different types in the expression. The lower type is automatically converted to the higher type
before the operation proceeds.
13.define type caste Operators:
The process of such local conversion of variable is known as casting value or type modifier or type caste
operator.
14.define expressions:
The combination of operand and operators form the expression.
The operand may be variable or constants.


UNIT-2
1.define scan f() function:
Scan f () function is used to read the value from the input device.
2.define print f () function:
Print f ()function is used to display data on the monitor.
3.define decision making statement:
These statements are used to execute particular set of instruction for based on certain condition.
Ex:if, if else, nested if, if else if ladder, switch.
4.define looping statement :
Looping statement are used to execute a group of instruction repeatedly at till some condition is satisfied.
Example: while, do while, for loop.
5.define unconditional statement:
This condition is used to transfer the control to other statement without checking any condition.
Example : goto, break.
6.define simple if statement:
It is used to execute some statements for a particular condition.
7.define switch statement :

Connected book
 image
Publisher: 2022 ISBN: 9781506281148 Edition: Unknown

Document information

Study
Unknown
Uploaded on
April 20, 2024
Number of pages
7
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers
£5.85

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Sold
0
Followers
0
Items
1
Last sold
-



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and smashed it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions