Programming Concepts and Logics | Check Your Level | MCQ April 3, 2025April 17, 2024 by jaminrai Programming Concepts & LogicsThis MCQ helps to check levels of:your understanding on programming languagesunderadatnd about compiler, interpreter and Assemblerdifferent High level languagesdifferent types of errors in programmingcontrol structureProgram design toolstypes of dataI/O function, operator and many more 1 / 76Which operator is used to find remainder of two integers? ! MOD % 2 / 76Which of the following statement is not true? C is powerful and portable programming language C is structural programming language. C is a general purpose low level programming language C is internationally standardized programming language 3 / 76Which one is input function? putchar printf scanf puts 4 / 76Which loop executes at least once do while if while For 5 / 76Which statement is not true? An array is collection of dissimilar type of data items. The data items of array are stored in contiguous memory locations. The size of an array is static. An array is collection of similar type of data items. 6 / 76Which of the following is not a type of branching statement? If else If else if Do while Switch case 7 / 76C Language developed at _____? AT & T's Bell Laboratories of USA in 1972 Cambridge University in 1972 Sun Microsystem in 1973 AT & T's Bell Laboratories of French in 1972 8 / 76The operator & is used for Logical AND Bitwise OR Bitwise AND Logical OR 9 / 76A string in C is Both 1-D and 2-D array of character 2-D Array of Character None of these 1-D Array of character 10 / 76What is program? A finite set of instruction to computer to perform specific task All of the options are correct A finite set of subprograms to computer to perform specific task A finite set of functions to computer to perform specific task 11 / 76Which keyword can be used for coming out of recursion? Break Return Both Return and Break Exit 12 / 76Which of the following is not true? Algorithm is a finite sequence of instructions for solving a problem Pseudo code is expressed in terms of English like structure and mathematical expression. Flowchart is a pictorial form of algorithm that describes the procedure to solve a problem A flowchart can solve complex real-world problem 13 / 76The process of translating a source program into machine language is a function of: Compiler Translator Assembler None of these 14 / 76The continue statement cannot be used with ____ For Switch Do while While 15 / 76How long the following loop runs? for(x=1;x=3;x++) One time Never Forever Three times 16 / 76Which function is used to copy string? strcat strcp strcpy strcopy 17 / 76Which one is output function? getchar printf gets scanf 18 / 76++ Operator used within loops increment the value of variable by 1 Depends on compiler 10 2 19 / 76What c function copies the contents of one string to another? strcmp() strcpy() strrev() None 20 / 76What is the work of break keyword? Restart execution of program Halt execution of program None of these Exit form loop or switch statement 21 / 76Which of the following character is used to terminate an instruction in C Program? Colon Comma Semicolon Period 22 / 76Which of the following symbol is not a valid character set? # @ > < 23 / 76Which operators are known as ternary operators? <,;; ::? None of these ?: 24 / 76This C function copies the contents of the source string at the end of the target string? both Strcat() & copycat() strcat() copycat() none of the options 25 / 76Which escape character can be used to begin a new line in c? m b a n 26 / 76Which type of type specifier is used to hold integer type data? %e %d %f %c 27 / 76Which of the following is not a loop used in C While loop For each loop For loop Do while loop 28 / 76Number of keywords present in C languages is? 32 64 62 34 29 / 76A string constant in C is terminated by '