Rajasthan Technical Education Second Year Paper 2016 – Programming and Problem Solving Through Ç

Step by step instruction written to solve any problem is called
(a) Pseudo code
(b) Algorithm
(c) Assembler
(d) Class

Symbolic representations of an algorithm is called
(a) Data flow diagram
(b) E-R diagram
(c) Flow chart
(d) None of the above

The size of a character variable in C language is
(a) 8 Byte
(b) 4 Byte
(c) 2 Byte
(d) 1 Byte

By deafault a real number is treated as
(a) float
(b) double
(c) integer
(d) character

Which of the following is NOT a basic data type in C language ?
(a) Double
(b) Float
(c) Character
(d) Array

Which of the following is a valid string constant ?
(a) “Programming”
(b) “Programming
(c) ‘Programming
(d) $programming$

Which format specifier is used to print the value of integer type variable ?
(a) %lf
(b) %lu
(c) %d
(d) %f

Which of the following operator is used for logical AND ?
(a) &&
(b) <
(c) >=
(d) %

By default which type type of a value a function returns?
(a) int
(b) float
(c) double
(d) long double

Which is a valid string function ?
(a) strpbrk()
(b) strops()
(c) strxtrm()
(d) streen()

Which among the following is an unconditional control structure ?
(a) do – while
(b) if – else
(c) for
(d) goto

C programming language was developed by whom ?
(a) Dennis Ritchie
(b) Bill Gates
(c) Sunder Phichai
(d) Peter Norton

int x;
x==11/2;
what will be the value of x ?
(a) 0
(b) 5
(c) 5.2
(d) 1

int x;
x=11%2;
What will be the result of x ?
(a) 0
(b) 5
(c) 5.2
(d) 1

int * x;
Here x is a
(b) Structure
(b) Array
(c) Pointer
(d) is long

C language is available for which of the following operating system?
(a) DOS
(b) Windows
(c) Unix
(d) All of these


Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *