long responses Flashcards

1
Q

tell me all the operators

A

arithmetic,relational,logical,assignment,increment and decrement, bitwise,conditinal,special

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

4 characteristics of a computer

A

speed, accuracy,automation, programmabilty

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is Data Type?

A

A data type isa classification of data which tells the compiler or interpreter how the programmer intends to use the data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Explain various data types available in C.

A

int ,char, float, double, void, Arrays, Pointers, Structures, Unions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are Variables?

A

A variable in C is a named memory location used to store data that can be modified during the program’s execution. Variables provide a way to label and work with data in a program.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a Flowchart?

A

A flowchart is a graphical representation of a process or algorithm. It uses symbols to depict steps and their sequence in solving a problem, making it easier to visualize and understand the logic.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Oval/Ellipse

A

Represents the start or end of a process.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Rectangle

A

Represents a step or operation in the process.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Diamond

A

Represents a decision point in the process, typically a Yes/No question.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Parallelogram

A

Represents input (e.g., user input) or output (e.g., displaying a result).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Arrow

A

Indicates the flow or direction of the process.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is an Array?

A

An array is a collection of data items, all of the same type, accessed using a common name.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is Computer…?

A

A computer can be defined as a fast electronic calculating machine that accepts the (data) digitized input information process it as per the list of internally stored instructions and produces the resulting information.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

A Computer has four main components. They are ?

A

Central Processing Unit
Memory Unit
Input devices
Output devices

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is ROM?

A

It stores data and instructions, even when the computer is turned off. It is the permanent memory of the computer where the contents cannot be modified by an end user.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is RAM?

A

It contains all types of intermediate and temporary data to be used by the CPU.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Primary memory is faster in speed, less in size (normally a few megabytes) and costlier.
It consists of

A

ROM (Read Only Memory)
RAM (Random Access Memory)

18
Q

The most common input devices are

A

Keyboard
Mouse
Scanner
Joy stick
Microphone
Optical Character Reader(OCR)

19
Q

The most commonly used output devices are

A

Monitor
Printer
Speakers
Plotters

20
Q

what is Programming?

A

is a creative process done by programmers to instruct a computer on how to do a task.

21
Q

Why Programming Language?

A

A programming language is a formal constructed language designed to communicate instructions to a machine, particularly a computer.

22
Q

what is Algorithm?

A

Algorithm is a finite sequence of instructions, each of which has a clear meaning and can be performed with a finite amount of effort in a finite length of time

23
Q

The characteristics of a good algorithm are:

A

Precision
Uniqueness
Finiteness
Input
Output
Generality

24
Q

What is a flow chart ?

A

is a Graphical representation of an Algorithm or a portion of an Algorithm.

25
tell the structure of c program
Documentation section Link section Definition section Global declaration section main () function section
26
Types of Constants
Integer Constants Floating-point Constants Character Constants String Constants
27
Variables
It is used to store values in program.
28
Types of Variables
Local variable Global variable Static variable
29
what is data type?
A data type is a classification of data which tells the compiler or interpreter how the programmer intends to use the data.
30
C Tokens
C Tokens are the smallest building block or smallest unit of a C program
31
Decision making statements
Decision making statements are: if statement if..else statements else..if ladder nested if statements
32
Switch Case statements
The switch statement in C is an alternate to if-else-if ladder statement which allows us to execute multiple operations for the different possible values of a single variable called switch variable
33
define loops
Loops are the technique to repeat set of statements until given condition is true
34
Concept of jump
There are 4 jump statements Break Continue Goto Return
35
what is an array?
Array is a data structure that hold finite sequential collection of homogeneous data.
36
Define string
A sequence of characters that is treated as a single data item.
37
define a funnction
A function is a block of statements that performs a specific task.
38
define Library Functions
are the functions which are declared in the C header files such as scanf(), printf(), sqrt(), pow(), strcat(), strlen() etc
39
HOW TO CALL C FUNCTIONS IN A PROGRAM?
Call by value: A copy of the variable is passed to the function. Call by reference: An address of the variable is passed to the function.
40
define recusion
Recursion is the process which comes into existence when a function calls a copy of itself to work on a smaller problem.
41