0% found this document useful (0 votes)
8 views

Format

Uploaded by

Kaif Khan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views

Format

Uploaded by

Kaif Khan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

COMMUNITY INSTITUTE OF COMMERCE AND

MANAGEMENT STUDIES
BCA DEPARTMENT ASCEND 2K24
TECHNOTAINMENT -2K24
BUG BUSTER-CODING & DEBUGGING EVENT
ROUND 1: CHARGE YOUR BRAIN

NAME: SEM:

1. Which of these is NOT involved in the process of


debugging?
a. Fixing b. Test
c. Isolating d. Identifying

2. Which of this does not affect a program’s


execution?
a. Control b. I/o
c. Environment d. Arguments

3. Which of these refers to a predefined procedure


used to perform a specific task?
a. Function b. Flowchart
c. Errors d. Pseudocode
4. Which of these would occur when we forget to
enter an instruction or when we enter these
instructions in the wrong order?
a. Syntax errors b. Application shut down
c. Logical errors d. Exceptions
5. In a program, errors are also known as:
a. Exceptions b. Invalid data
c. Errors d. Bugs

6. Which among the following can show polymorphism?


a) Overloading && b) Overloading <<
c) Overloading || d) Overloading +=

7. Where is the memory allocated for


the objects?
a) Cache b) ROM
c) HDD d) RAM
8. Which keyword should be used to declare static
variables?
a) const b) common
c) static d) stat
9.Who invented c
a)Dennis Ritchie b)Ken Thompson
c)Brian Kernighan d)Bjarne stroustrup
10. C++ language is a ___.
a)Object Oriented Language b)Procedural Oriented Languag
c)Structural Oriented Language d)None of the above

11Which of the following language translator is used in


C++?
a)Assembler b) Interpreter
c)Compiler d)Both Interpreter and Compiler

12. int a=200, b;


b=++a + a--;
printf("a= %d\n", a);
printf("b= %d\n", b--);
Output:_______________________
13. By default all the files in c++ are opened in
a) Binary b) VTC
c) text d) ISCII
14.The C preprocessor are specified with
A)# b) $
c) “” d)&

15.What is the sizeof (char) in a 32-bit C compiler


a)1bit b)2bit
c)1byte d)2bytes

16. If we use value "3.14" then what will be the data


type of the given value?
a)Float b)double
c)long double d)none of the above
17.Convert Hexadecimal to Binary 4FBA7 16 to ()2
a.0000100111110111010 b.1001111101110101000
c.1111100111110111010 d.1001111101110100111

18. Which access modifier is not there in c


a. Public b. private
c. Protected d. default

19. Can we implement a constructor


with a default argument?
a)True b)False

20 Which of the following statement


can replace the if-else statement?
a) while loop b)do-while loop
c) for loop d)conditional operator

You might also like