C & C++ Course Exam 0 C & C++ Course Exam 1 / 50 1) What is an Array in C language.?સી ભાષામાં એરે શું છે.? A) All the above. B) Array elements are stored in memory in continuous or contiguous locations. C) A group of elements of same data type. D) An array contains more than one element 2 / 50 2) Types of Integers are.?પૂર્ણાંકોના પ્રકાર છે.? A) long B) All the above C) short D) int 3 / 50 3) What is the output of C Program.?સી પ્રોગ્રામનું આઉટપુટ શું છે.?int main(){int k, j;for(k=1, j=10; k <= 5; k++){printf("%d ", (k+j));}return 0;} A) 11 12 13 14 15 B) 10 10 10 10 10 C) compiler error D) None of the above 4 / 50 4) An uninitialized pointer in C is called ___C માં અપ્રારંભિક નિર્દેશકને ___ કહેવાય છે A) Wild Pointer B) Destructor C) dangling pointer D) Constructor 5 / 50 5) Size of a Turbo C C++ compiler is.?ટર્બો સી સી++ કમ્પાઇલરનું કદ છે.? A) 128 bit B) 32 bit C) 16 bit D) 64 bit 6 / 50 6) Low level language is .?નિમ્ન કક્ષાની ભાષા છે.? A) Human readable like language. B) language with big program size. C) Difficult to understand and readability is questionable. D) language with small program size. 7 / 50 7) Find a correct C Keyword below.નીચે સાચો C કીવર્ડ શોધો A) go to B) breaker C) shorter D) default 8 / 50 8) What is the 16-bit compiler allowable range for integer constants?પૂર્ણાંક સ્થિરાંકો માટે 16-બીટ કમ્પાઇલર માન્ય શ્રેણી શું છે? A) -32768 to 32767 B) -32767 to 32768 C) -3.4e38 to 3.4e38 D) 32668 to 32667 9 / 50 9) What is a C Storage Class.?સી સ્ટોરેજ ક્લાસ શું છે.? A) C Storage Class decides what is the default value of a variable. B) C Storage Class decides what is the Scope and Life of a variable. C) All the above. D) C Storage decides where to or which memory store the variable. 10 / 50 10) C is a which level language.?C એ કયા સ્તરની ભાષા છે.? A) Low + High B) High Level C) Low Level D) None 11 / 50 11) c language was invented in which laboratories.?સી ભાષાની શોધ કઈ પ્રયોગશાળાઓમાં થઈ હતી? A) Uniliver Labs B) IBM Labs C) AT&T Bell Labs D) Verizon Labs 12 / 50 12) Find a Floating Point constant.ફ્લોટિંગ પોઈન્ટ સતત શોધો. A) 125.34857 B) All the above. C) 12e34 D) 12.3E5 13 / 50 13) A pointer that is pointing to NOTHING is called ____એક નિર્દેશક જે કંઈપણ તરફ નિર્દેશ કરે છે તેને ____ કહેવાય છે A) NULL Pointer B) DANGLING Pointer C) WILD Pointer D) VOID Pointer 14 / 50 14) What are the Types of Arrays.?એરેના પ્રકારો શું છે.? A) struct, enum B) int, long, float, double C) All the above D) char 15 / 50 15) What is the output of C Program.?int main(){int a=25;while(a <= 27){printf("%d ", a);a++;}return 0;}સી પ્રોગ્રામનું આઉટપુટ શું છે.? A) Compiler error B) 25 26 27 C) 25 25 25 D) 27 27 27 16 / 50 16) Which loop is faster in C Language, for, while or Do While.?સી લેંગ્વેજમાં કયો લૂપ ઝડપી છે, માટે, જ્યારે કે ડુ જ્યારે.? A) All work at same speed B) for C) while D) do while 17 / 50 17) Far pointer can access _____દૂર નિર્દેશક _____ ઍક્સેસ કરી શકે છે A) First and Last Memory Address B) All memory location C) Single memory location D) No memory location 18 / 50 18) A function which calls itself is called a ___ function.ફંક્શન જે પોતાને કૉલ કરે છે તેને ___ ફંક્શન કહેવાય છે. A) Self Function B) Recursive Function C) Static Function D) Auto Function 19 / 50 19) Expand or Abbreviate ASCII with regard to C Language.C ભાષાના સંદર્ભમાં ASCII ને વિસ્તૃત અથવા સંક્ષિપ્ત કરો. A) American Symbolic Code for Information Interchange B) Australian Symbolic Code for Information Interchange C) American Standard Code for Information Interchange D) Australian Standard Code for Information Interchange 20 / 50 20) Which one is not a reserve keyword in C Language?સી ભાષામાં કયો એક અનામત કીવર્ડ નથી A) auto B) main C) case D) register 21 / 50 21) Choose correct Syntax for C Arithmetic Compound Assignment Operators.C અંકગણિત સંયોજન અસાઇનમેન્ટ ઓપરેટર્સ માટે યોગ્ય સિન્ટેક્સ પસંદ કરો. A) a+=b is (a= a+ b) a-=b is (a= a-b) B) a*=b is (a=a*b) a/=b is (a = a/b) C) a%=b is (a=a%b) D) All the above. 22 / 50 22) What is the output of C program with switch statement or block.?સ્વીચ સ્ટેટમેન્ટ અથવા બ્લોક સાથે સી પ્રોગ્રામનું આઉટપુટ શું છે.?int main(){ int a; switch(a); { printf("DEER "); } printf("LION");} A) Compiler error B) LION C) DEER LION D) None of the above 23 / 50 23) Find a correct C Keyword below. A) permanent B) case C) work D) constant 24 / 50 24) An array Index starts with.?એરે ઇન્ડેક્સ આનાથી શરૂ થાય છે.? A) 0 B) -1 C) 2 D) 1 25 / 50 25) Identify wrong C Keywords below.નીચેના ખોટા C કીવર્ડ્સ ઓળખો. A) sizeof, volatile, do, if B) union, const, var, float C) short, unsigned, continue, for D) signed, void, default, goto 26 / 50 26) C language was invented to develop which Operating System.?કઈ ઓપરેટિંગ સિસ્ટમ વિકસાવવા માટે સી ભાષાની શોધ કરવામાં આવી હતી. A) Android B) Linux C) Unix D) Ubuntu 27 / 50 27) What are C ASCII character ranges.?C ASCII અક્ષર શ્રેણીઓ શું છે.? A) A to Z = 65 to 91 B) All the above C) 0 to 9 = 48 to 57 D) a to z = 97 to 122 28 / 50 28) Choose correct C while loop syntax.લૂપ સિન્ટેક્સ વખતે યોગ્ય C પસંદ કરો. A) while(condition); { //statements } B) while(condition) { //statements } C) while() { if(condition) { //statements } } D) { //statements }while(condition) 29 / 50 29) Prototype of a function means _____ફંક્શનનો પ્રોટોટાઇપ એટલે _____ A) Output of Function B) Input of a Function C) Name of Function D) Declaration of Function 30 / 50 30) Find an integer constant.પૂર્ણાંક સ્થિરાંક શોધો. A) 3.145 B) "125" C) 34 D) None of the above 31 / 50 31) What are the new features of C11 or ISO IEC 9899 2011 standard.?C11 અથવા ISO IEC 9899 2011 સ્ટાન્ડર્ડની નવી વિશેષતાઓ શું છે.? A) All B) Type generic Macros, Static Assertions C) Bounds Checking Interfaces, Anonymous Strurctures D) Multi Threading, Anonymous Unions, quick_exit 32 / 50 32) A C program is a combination of.?A C પ્રોગ્રામનું સંયોજન છે.? A) Functions B) Statements C) All of the above D) Variables 33 / 50 33) signed and unsigned representation is available for.?માટે સહી કરેલ અને સહી વગરનું પ્રતિનિધિત્વ ઉપલબ્ધ છે.? A) short, int, long, char B) None of the above C) A & B D) float, double, long double 34 / 50 34) Identify wrong C Keywords below.નીચેના ખોટા C કીવર્ડ્સ ઓળખો. A) auto, double, int, struct B) char, extern, intern, return C) case, enum, register, typedef D) break, else, long, switch 35 / 50 35) Which program outputs "Hello World.." .?કયો પ્રોગ્રામ "હેલો વર્લ્ડ.." આઉટપુટ કરે છે.? A) main() { scan("Hello World.."); } B) main() { print("Hello World.."); } C) main() { printf("Hello World.."); } D) main() { scanf("Hello World.."); } 36 / 50 36) Find a correct C Keyword.નીચે સાચો C કીવર્ડ શોધો. A) double B) Float C) Int D) Long 37 / 50 37) What are the types of Constants in C Language.?C લેંગ્વેજમાં કોન્સ્ટન્ટના પ્રકારો શું છે.? A) Basic Constants and Advanced Constants B) Secondary Constants C) Primary Constants D) Primary Constants and Secondary Constants 38 / 50 38) Name the loop that executes at least once.લૂપને નામ આપો જે ઓછામાં ઓછા એક વખત એક્ઝિક્યુટ કરે છે. A) while B) do-while C) If D) For 39 / 50 39) Who is known as the father of C Language ?સી ભાષાના પિતા તરીકે કોને ઓળખવામાં આવે છે? A) Vjarne Stroustrup B) Dr. E. F. Codd C) James A. Sosling D) Dennis Ritchie 40 / 50 40) C language is used in the development of .?C ભાષાનો ઉપયોગ વિકાસમાં થાય છે.? A) All of the above B) Graphic applications C) Word Processors D) Databases 41 / 50 41) C Language was developed in the year ____સી ભાષાનો વિકાસ ____ વર્ષમાં થયો હતો A) 1980 B) 1970 C) 1985 D) 1975 42 / 50 42) C is _______ type of programming language.?C એ _______ પ્રકારની પ્રોગ્રામિંગ ભાષા છે.? A) Bit level language B) Functional C) Object Oriented D) Procedural 43 / 50 43) What is the output of C Program.?int main(){while(true){printf("RABBIT");break;}return 0;}સી પ્રોગ્રામનું આઉટપુટ શું છે.? A) RABBIT is printed unlimited number of times. B) No output C) Compiler error. D) RABBIT 44 / 50 44) Identify wrong C Keywords below.નીચેના ખોટા C કીવર્ડ્સ ઓળખો. A) return, enum, struct, do B) struct, construct, signed, unsigned C) short, long, if, else D) static, while, break, goto 45 / 50 45) C language was invented in the year.?સી ભાષાની શોધ વર્ષમાં થઈ હતી.? A) 1990 B) 1999 C) 1972 D) 1978 46 / 50 46) High level language is a .?ઉચ્ચ કક્ષાની ભાષા એ છે.? A) language which is difficult to understand and not human readable. B) language with small program size. C) language with big program size. D) Human readable like language. 47 / 50 47) What is the way to suddenly come out of or Quit any Loop in C Language.?સી લેંગ્વેજમાં કોઈ પણ લૂપમાંથી અચાનક બહાર આવવાનો અથવા છોડવાનો રસ્તો શું છે.? A) quit; statement B) break; statement C) leave; statement D) continue; statement 48 / 50 48) C Language is a successor to which language.?સી ભાષા કઈ ભાષાની અનુગામી છે.? A) D Language B) B Language C) FORTRAN D) BASIC 49 / 50 49) A pointer pointing to a memory location of the variable even after deletion of the variavle is known as _____વેરીએબલ કાઢી નાખ્યા પછી પણ વેરીએબલના મેમરી સ્થાન તરફ નિર્દેશ કરતું પોઈન્ટર _____ તરીકે ઓળખાય છે A) dangling pointer B) void pointer C) far pointer D) null pointer 50 / 50 50) A C variable name can start with a ____C ચલ નામ ____ થી શરૂ થઈ શકે છે A) Underscore B) Plus Sign (+) C) Asterisk (*) D) Number Your score is The average score is 0% LinkedIn Facebook Twitter VKontakte 0% Restart quiz