• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 2 fuera de 7 páginas
Examen

Tamil

Document preview thumbnail
Vista previa 2 fuera de 7 páginas

This is one of my best notes

Vista previa del contenido

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 :

Libro relacionado
 image
Editorial: 2022 ISBN: 9781506281148 Edición: Desconocido

Información del documento

Estudio
Desconocido
Subido en
20 de abril de 2024
Número de páginas
7
Escrito en
2023/2024
Tipo
Examen
Contiene
Preguntas y respuestas
$7.66

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Vendido
0
Seguidores
0
Artículos
1
Última venta
-



Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes