Q1 Easy
What is the octal equivalent of the binary number 101110?
A 56 B 54 C 46 D 52
Q2 Easy
Which SQL command is used to retrieve data from a database table?
A SELECT B INSERT C UPDATE D DELETE
Q3 Easy
What is the binary representation of the decimal number 13?
A 1101 B 1011 C 1110 D 1001
Q4 Easy
How many bits are required to represent the decimal number 255?
A 6 bits B 7 bits C 8 bits D 9 bits
Q5 Easy
What does a loop in programming allow you to do?
A Execute a block of code repeatedly until a condition is met B Store multiple values in a single variable C Create connections between different programs D Convert numbers from one base to another
Q6 Easy
In programming, what is a function primarily used for?
A To group reusable code that performs a specific task and can be called multiple times B To store large amounts of data permanently on disk C To connect a computer to a network D To convert data between different file formats
Q7 Easy
What is the difference between '=' and '==' operators in programming?
A '=' is assignment and '==' is comparison B '=' is comparison and '==' is assignment C Both are used for the same purpose D '=' is for strings and '==' is for numbers
Q8 Easy
What is the primary purpose of a variable in programming?
A To store and hold data values that can be used and modified during program execution B To display output on the computer screen C To connect the program to the internet D To create graphical user interfaces
Q9 Easy
Convert the hexadecimal number 2F to decimal.
A 47 B 32 C 35 D 29
Q10 Easy
Which number system uses only digits 0 and 1 for data representation in computers?
A Decimal B Binary C Hexadecimal D Octal
Q11 Easy
Which of the following is a correct example of declaring a variable in most programming languages?
A int age = 25; B variable age = 25 C declare age as 25 D age == 25
Q12 Easy
In ASCII data representation, which decimal value represents the character 'A'?
A 65 B 97 C 48 D 32
Q13 Easy
Convert the decimal number 25 to binary.
A 11001 B 10110 C 11010 D 10011
Q14 Easy
What is the hexadecimal equivalent of the binary number 10101010?
A AA B BA C A5 D 55
Q15 Easy
Convert the octal number 75 to decimal.
A 55 B 61 C 48 D 63
Q16 Easy
How many bits are required to represent the decimal number 100 in binary?
A 6 bits B 7 bits C 8 bits D 5 bits
Q17 Easy
What is the decimal value of the hexadecimal number 2F?
A 47 B 35 C 51 D 45
Q18 Easy
Convert the binary number 11110000 to its octal equivalent.
A 370 B 360 C 240 D 340
Q19 Easy
Which of the following is NOT a basic data type in programming?
A Integer B Float C Boolean D Filename
Q20 Easy
What does SQL stand for?
A Structured Query Language B Standard Question Language C Simple Quick Logic D Systematic Query List