Home / Ravi Chauhan / Programming Language MCQs
Total questions: 58
Q. The C-preprocessors are specified with _________ symbol.
Q. Which of the following are C preprocessors?
Q. C preprocessors can have compiler specific features.
Q. What is #include ?
Q. Property which allows to produce different executable for different platforms in C is called?
Q. Which of following is not accepted in C?
Q. Functions in C Language are always _________
Q. Functions can return enumeration constants in C?
Q. What is an example of iteration in C?
Q. Which of the following is NOT possible with any 2 operators in C?
Q. Where in C the order of precedence of operators do not exist?
Q. Which of the following typecasting is accepted by C language?
Q. What is the result of logical or relational expression in C?
Q. Which keyword is used to prevent any changes in the variable within a C program?
Q. Which of the following declaration is not supported by C language?
Q. What is short int in C programming?
Q. Which of the following cannot be a variable name in C?
Q. Which is valid C expression?
Q. Which of the following is true for variable names in C?
Q. All keywords in C are in ____________
Q. Which of the following is not a valid C variable name?
Q. Syntax of any Unix command is:
Q. Lp0 device file is used to access:
Q. SVR4 stands for?
Q. Unix is which kind of Operating System?
Q. Which of the following is considered as the super daemon in Unix?
Q. Which of the following enables multi-tasking in UNIX?
Q. The system calls in UNIX is written using which language
Q. Which of the following is “NOT” a UNIX variant ?
Q. Solaris is the name of a flavor of UNIX from
Q. Applications communicate with kernel by using:
Q. Which among the following interacts directly with system hardware?
Q. Under UNIX the key board is the default input device and the monitor is the default output device
Q. Single Unix Specification Version 2 provides enhanced support for
Q. ILP32 stands for
Q. Which is the core of the operating system?
Q. wtmp and utmp files contain:
Q. At start of process execution, STDOUT & STDERR
Q. To increase the response time and throughput, the kernel minimizes the frequency of disk access by keeping a pool of internal data buffer called
Q. Which of the following format specifiers is used to print hexadecimal values and return value of output as Octal equivalent in C#?
Q. What will be the output of the following C# code?
Q. The Default value of Boolean Data Type is?
Q. A float occupies 4 bytes. If the hexadecimal equivalent of these 4 bytes are A, B, C and D, then when this float is stored in memory in which of the following order do these bytes gets stored?
Q. Why does a float variable stop incrementing at number ‘16777216’ in the following C# code?
Q. Select appropriate difference between decimal, float and double data type in C#? i) Float and Double are floating binary point types while decimal is a floating decimal point type. ii) Precision difference for float is '7' digit for double is '15' to '16' digit and for decimal is '28' to '29' digits. iii) Some values which cannot be exactly represented hence for those values float and double are more appropriate.
Q. Minimum and Maximum range of values supported by ‘float’ data type are?
Q. Correct way to define a value 6.28 in a variable ‘pi’ where value cannot be modified?
Q. Valid Size of float data type is?
Q. Number of digits upto which precision value of float data type is valid?
Q. Select a convenient declaration and initialization of a floating point number:
Q. What will be the output of the following PHP code?
Q. In the following PHP program, what is/are the properties?
Q. Which of the following PHP functions can be used for generating unique ids?
Q. What will be the output of the following PHP program?
Q. How to define a function in PHP?