Data Types "A1" 1 / 50 Which operator is used to compare two values? % := == = 2 / 50 2 << 2 (left shift) का output क्या होगा? 4 16 8 2 3 / 50 Size of int varies depending on: Monitor Keyboard Mouse Compiler / Architecture 4 / 50 Which is NOT a unary operator? ++ -- + ! 5 / 50 Logical OR (||) कब TRUE होता है? जब दोनों FALSE हों जब कम-से-कम एक TRUE हो जब दोनों TRUE हों जब inputs opposite हों 6 / 50 Which one is NOT a bitwise operator? & | ^ && 7 / 50 Which data type is best to store precise decimal values? Integer Boolean Double Char 8 / 50 What is the output of 9 % 4? 2 4 0 1 9 / 50 Which operator has higher precedence? * != = + 10 / 50 Bitwise NOT (~) of 0 gives: 01 1 0 2 11 / 50 Which of the following data types stores whole numbers? Double Integer Char Float 12 / 50 Which operator is used for string concatenation in most languages? + * - / 13 / 50 A byte contains how many bits? 12 16 8 4 14 / 50 Which operation converts 0 to 1 and 1 to 0? & NOT / ! || && 15 / 50 Which is NOT an arithmetic operator? % && - + 16 / 50 Which operator in C/C++ returns size in bytes? type() capacity() length() sizeof() (Correct) 17 / 50 15 / 2 (integer division) result? 7.5 7 8 6 18 / 50 Which of the following is a valid data type conversion? कौन-सा valid conversion है Boolean → Integer Integer → Float Float → Character Double → Boolean 19 / 50 1 ^ 1 (XOR) का result क्या होगा? -1 2 0 1 20 / 50 Which operator has lowest precedence? सबसे कम precedence किसकी है? () * + = 21 / 50 In programming, character literals are stored in: Character literal कहाँ store होता है? Integer register Float variable ASCII/Unicode code Double space 22 / 50 Which operator checks equality? && == := = 23 / 50 4 >> 1 का output क्या होगा? (Right shift) 2 3 4 8 24 / 50 Which of the following is NOT a valid data type? Integer Double Boolean Word 25 / 50 Which operator is used for assignment? Assignment के लिए कौन-सा operator है? => = != == 26 / 50 Logical AND (&&) कब TRUE होता है? जब दोनों TRUE हों जब inputs equal हों जब एक TRUE हो जब दोनों FALSE हों 27 / 50 Which data type usually stores ASCII code? ASCII code आमतौर पर कहाँ store होता है? Boolean Char Float Double 28 / 50 Bitwise operators work on: Bitwise operators किस पर काम करते हैं? Floats Bits Characters Decimal numbers 29 / 50 10 % 3 का result क्या होगा? 10 0 1 3 30 / 50 Which is NOT a relational operator? इनमें से कौन relational operator नहीं है? %% <= != > 31 / 50 Which data type can store largest numeric range? कौन-सा datatype सबसे बड़ा numeric range store कर सकता है? Integer Float Double Short 32 / 50 Which operator is used for “NOT” in logical operations? Logical NOT के लिए कौन-सा operator है? ! || && & 33 / 50 Bitwise OR Operator returns 1 when: Bitwise OR कब 1 देता है?** दोनों 0 हों कम-से-कम एक input 1 हो दोनों 1 हों दोनों equal हों 34 / 50 In binary, 1 AND 0 gives: Binary में 1 AND 0 का result क्या होगा? 2 0 1 None 35 / 50 Which of the following is a composite data type? Composite data type कौन-सा है? Float Integer Structure (Struct) Boolean 36 / 50 Which operator is unary? Unary operator कौन-सा है? == ++ && + 37 / 50 5 + 2 * 3 का सही output precedence के अनुसार क्या होगा? 7 15 11 21 38 / 50 Which data type is ideal for storing TRUE/FALSE values? TRUE/FALSE store करने के लिए कौन-सा datatype सही है? Boolean Integer Float Char 39 / 50 Float data type generally provides how many decimal precision? Float लगभग कितनी decimal precision देता है? 6–7 digits 14–16 digits 10–12 digits 3–4 digits 40 / 50 Which operator is used for bitwise AND? Bitwise AND किस operator से होता है? && | ^ & 41 / 50 Which of the following is the correct size order? कौन-सा size order सही है (small → large)?** Boolean < Character < Integer < Float < Double Float < Boolean < Double Integer < Boolean < Float Double < Float < Integer 42 / 50 Which operator is used to combine two conditions so that both must be true? कौन-सा operator दो conditions को जोड़ता है ताकि दोनों TRUE हों?** = = ! && || 43 / 50 The modulus operator (%) is used for: Modulus operator (%) किसके लिए होता है?** Divide numbers Multiply numbers Find remainder (शेषफल निकालने के लिए) Compare numbers 44 / 50 In most programming languages, ‘Double’ is generally of ____ bits. अधिकांश languages में Double कितने bits का होता है? 16 32 64 128 45 / 50 Which of the following is NOT a logical operator? इनमें से कौन-सा Logical Operator नहीं है?** ! = || && 46 / 50 In binary operations, XOR operator returns TRUE when: Binary में XOR TRUE कब होता है? Both inputs are same Both inputs are 1 Both inputs are 0 Inputs are different (1,0 or 0,1) 47 / 50 Which operator has the highest precedence? किस operator की precedence सबसे ज़्यादा होती है?** + && == () (Parentheses) 48 / 50 In computer memory, which data type generally occupies the smallest size? कंप्यूटर मेमोरी में सबसे कम space कौन लेता है?** Boolean Float Double Long 49 / 50 Which of the following is an example of a non-primitive data type? कौन-सा Non-Primitive Data Type है?** Integer Float Character Array 50 / 50 Python में कितने basic data types हैं? कई Infinite 2 4 Your score isThe average score is 0% 0% Restart quiz