CS201- Introduction to Programming exam Quiz



Question No: 1      ( Marks: 1 ) - Please choose one
 

A precise sequence of steps to solve a problem is called

       Statement

       Program

       Utility

       Routine

Question No: 2      ( Marks: 1 ) - Please choose one

 

The Compiler of C language is written in

       Java Language

       UNIX

       FORTRON Language

       C Language

Question No: 3      ( Marks: 1 ) - Please choose one
 

Initialization of variable at the time of definition is,

       Must

       Necessary

       Good Programming

       None of the given options

Question No: 4      ( Marks: 1 ) - Please choose one
 

In if structure the block of statements is executed only,

       When the condition is false

       When it contain arithmetic operators

       When it contain logical operators

       When the condition is true

Question No: 5      ( Marks: 1 ) - Please choose one
 

Which of the following function(s) is/are included in stdlib.h header file?

       double atof(const char *nptr)

       int atoi(const char *nptr)

       char *strcpy ( char *s1, const char *s2)

       ► 1 and 2 only