Q1. What will be the value of the following Python expression?
Q2. Which of the following character is used to give single-line comments in Python?
Q3. What will be the output of the following Python code?
l=[1, 0, 2, 0, 'hello', ' ', [] ]
list(filter(bool, l))
Q4. C was developed in the year ___
Q5. What will be the maximum size of a float variable?
Q6. Which of the following is an example of compounded assignment statement?
Q7. What type of CSS is the following code snippet?
<b><span style="color: #444444;letter-spacing: .1pt;background: #F5F8FF"><h1 style=</span></b>"color:blue;"
<b><span style="color: #444444;letter-spacing: .1pt;background: #F5F8FF">>A Blue Heading</h1></span></b>
Q8. Which of the following is the correct syntax for referring the external style sheet?
Q9. Which of the following CSS property is used to set the background image of an element?
Q10. Which of the following is the correct syntax to select all paragraph elements in a div element?
1 out of 3
Q11. What will be the value of x in the following code snippet?
#include
void solve()
{
int x = printf("Hello");
printf(" %d", x);
}
int main()
{
solve();
return 0;
}
Q12. What does the following declaration indicate?
Q13. Which of the following is the proper syntax for declaring macros in C?
Q14. Which of the following is an exit controlled loop?
Q15. What is the size of the int data type (in bytes) in C?
Q16. If p is an integer pointer with a value 1000, then what will the value of p + 5 be?
Q17. What will be the output of the following code snippet?
#include
#define VAL 3 * (2 + 6)
void solve()
{
int a = 10 + VAL;
printf("%d", a);
}
int main()
{
solve();
return 0;
}
Q18. Which of the following are not standard header files in C?
Q19. which of the following languages is function overloading not possible?
Q20. Which of the following function is used to open a file in C++?
2 out of 3
Q21. Which operator is used for exponentiation in most programming languages?
Q22. Which programming paradigm emphasizes on writing code that is easy to read and maintain?
Q23. Which of the following is not a web browser?
Q24. Which of the following is not a data type in most programming languages?
Q25. Which of the following is not a relational operator in most programming languages?
Q26. Which of the following is not a programming language?
Q27. Which of the following is a type of conditional statement?
Q28. Which of the following is a type of database management system?
Q29. What is the purpose of a loop in programming?
Q30. _______ is the process of finding errors and fixing them within a program.
3 out of 3