Programming with C

DOWNLOAD FREE PDF <<CLICK HERE>>

C programming Interview campus placement

Congratulations - you have completed C programming Interview campus placement.

You scored %%SCORE%% out of %%TOTAL%%.

Your performance has been rated as %%RATING%%


Your answers are highlighted below.
Question 1 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
..... loop performs the test at the bottom of the loop

A
do-while
B
while
C
goto
D
continue
Question 2 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
The size of a character variable in C is

A
8 bytes
B
4 bytes
C
2 bytes
D
1 byte
Question 3 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Parallelogram shape is used to represent input/output operations in a flowchart

A
True
B
False
Question 4 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What will the following lines of code print? Computer C programming MCQ
A
A
B
B C
C
A B C
D
Nothing, it will return an error.
Question 5 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Pseudocode is...
A
...the same as the Python programming language.
B
...used to describe a language which does not exist and tries to copy other programming languages.
C
...used to describe the program structures and data flow in a structured form of English similar to a programming language.
D
different to Python and does not use any of the same commands.
Question 6 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
If I were to create a web application, what 2 languages may I use?

A
Ruby
B
correctchoice Python
C
CSS
D
JS
Question 7 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
You want to show some code if the age is over 18, which is the correct command? (c#)

Computer C programming MCQ
A
IF (age < 18)
B
IF (age >= 18)
C
IF age > 18
D
IF (age > 18)
Question 8 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
A flowchart is a graphical representation that helps programmer to develop algorithms in programming.

A
True
B
False
Question 9 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Consider the following code snippet

if (x<50)

if (x>=0 || x<=25)

x+=25;

else

x-=25;

else

if (x>=75 || x <= 100)

x-=25;

else

x+25;


What will be the final value of x if x=33

A
8
B
58
C
83
D
33
Question 10 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What is "code"?

Computer C programming MCQ
A
To check if a computer program is working properly.
B
The instructions for a program
C
An error in a computer program.
Once you are finished, click the button below. Any items you have not completed will be marked incorrect. Get Results
There are 10 questions to complete.
<!–nextpage–>

C programming Interview campus placement

Congratulations - you have completed C programming Interview campus placement.

You scored %%SCORE%% out of %%TOTAL%%.

Your performance has been rated as %%RATING%%


Your answers are highlighted below.
Question 11 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Which of these is most similar to a computer program?
A
Science book
B
Encyclopedia
C
Dictionary
D
Map
Question 12 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
A multiline comment ends with:

A
The pressing of the Enter key
B
A single slash (/)
C
An asterisk and a slash (*/)
D
Two slashes (//)
Question 13 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Select all the High-level programming languages ...

Computer C programming MCQ
A
Python
B
correctchoice C#
C
correctchoice PHP
D
Assembly
Question 14 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What type of loop checks a Boolean expression at the "top" of the loop before the body has a chance to execute?

A
while
B
do
C
repeat
D
switch
Question 15 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Imagine a car as a computer, and its engine as a program. Which of the following is an input for the engine program?
A
The gas pedal
B
The driver's seat
C
The steering wheel
D
The windshield wipers
Question 16 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Transforming actions into a symbolic language
A
Program
B
Coding
C
Programming
D
Debugging
Question 17 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Which of the following is NOT a variable data type used in C#?

A
string
B
integer
C
boolean
D
letter
Question 18 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
It is a set of step-by-step instructions that directs the computer to do the tasks you want it to do and produce the results you want.

A
System
B
Program
C
Syntax
D
Algorithm
Question 19 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Which of the following is not a valid variable name declaration?

A
int .....a3;
B
int .....3a;
C
int .....A3;
D
None of these
Question 20 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What is a Variable?

A
It is a place where you can store some data
B
It is a place in your code that changes
C
It is a name given to a special sub-routine that changes how the program works
D
It is when you want to add two number together
Once you are finished, click the button below. Any items you have not completed will be marked incorrect. Get Results
There are 20 questions to complete.
<!–nextpage–>

C programming Interview campus placement

Congratulations - you have completed C programming Interview campus placement.

You scored %%SCORE%% out of %%TOTAL%%.

Your performance has been rated as %%RATING%%


Your answers are highlighted below.
Question 21 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Computer programmers make video games and apps by using computer code
A
True
B
False
Question 22 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
symbol used for modulo
A
%
B
&
C
#
D
**
Question 23 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What is the term for... "a sequence of instructions written in code that a computer can interpret"?

A
recipe
B
algorithm
C
program
D
calendar
Question 24 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Memory size or space required to store unsigned long int .....

A
2 bits
B
4 bits
C
2 bytes
D
4 bytes
Question 25 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
If a variable is a pointer to a structure, then which of the following operator is used to access data members of the structure through the pointer variable?

A
.
B
&
C
*
D
->
Question 26 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
select the conditional operator

A
?:
B
<<
C
^
D
||
Question 27 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What is a trace table?

A
A table used to record the scores of a computer football game
B
A transparent table
C
A table useful for tracing through a program in order to find a logic error
D
A table that hold all variables within code
Question 28 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
We can go directly to software label to develop our code and later on, once we have it clear, we will add the needed components.

A
False
B
True
Question 29 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
An INPUT is

A
information that goes INTO a computer or device
B
information that comes OUT of a computer or device
Question 30 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
A set of instructions that tells the computer how to behave, what to do and derive at a solution to a particular problem is:

A
Algorithm
B
Pseudocode
C
Programming
D
Program
Once you are finished, click the button below. Any items you have not completed will be marked incorrect. Get Results
There are 30 questions to complete.
<!–nextpage–>

C programming Interview campus placement

Congratulations - you have completed C programming Interview campus placement.

You scored %%SCORE%% out of %%TOTAL%%.

Your performance has been rated as %%RATING%%


Your answers are highlighted below.
Question 31 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
An 'Assembler' ...
A
...gives precise and direct instructions to the computer.
B
...give instructions to the software program
C
...executes one statement at a time within programming code.
D
...compiles the code into one file then runs the program.
Question 32 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What would be the output of following program?

Computer C programming MCQ
A
One
B
Two
C
Three
D
Error
Question 33 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
A syntax error

A
is when the program is coded correctly, but an error occurs because of a problem while the program is being executed (not because of a mistake in the code)
B
is when incorrect words or punctuation is used, or when correct words and punctuation are used in the wrong order
C
is when the stars don't line up properly and a cosmic ray changes a true value to a false value
D
is when the program is coded incorrectly to produce an incorrect result, but with correct statements. The only way to know there was an error is to notice that the result is wrong
Question 34 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
A good algorithm must be:
A
Detailed
B
Replaceable
C
Simple
D
Open-ended
Question 35 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
switch() statement should have at most ..... label

A
case
B
default
C
continue
D
break
Question 36 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Which of the following is an example of a count controlled loop?

A
While.... do
B
Repeat.... until
C
For..... next
D
For....then
Question 37 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
All statements should be written in lower case letters. Upper case letters are only used for symbolic constants.

A
True
B
False
Question 38 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
In binary there are ..... numbers that can be used in each number column
A
16
B
2
C
8
D
10
Question 39 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Q14: The flowchart shape for selection is
A
Parallelogram
B
Square
C
Diamond
D
Rounded rectangle
Question 40 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
"4" + "26" =

A
30
B
22
C
426
D
426
Once you are finished, click the button below. Any items you have not completed will be marked incorrect. Get Results
There are 40 questions to complete.
<!–nextpage–>

C programming Interview campus placement

Congratulations - you have completed C programming Interview campus placement.

You scored %%SCORE%% out of %%TOTAL%%.

Your performance has been rated as %%RATING%%


Your answers are highlighted below.
Question 41 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What function converts a character to its ASCII code in Python?
A
A.ASC()
B
B.ord()
C
C.chr()
D
D.ascii()
Question 42 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What does it mean to debug a program?

Computer C programming MCQ
A
The instructions for a program
B
A set of code given to a computer to accomplish a task.
C
To find and fix bugs in a program.
Question 43 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Who developed the C language?

A
Ken Thompson
B
Bjarne Stroustrup
C
Dennis Ritchie
D
Kernighan
Question 44 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
All keywords in C are in .....

A
Lowercase letters
B
Uppercase letters
C
Camel case letters
D
None of these
Question 45 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What is the outpur of the following code segment (assuming sizeof(int) returns 4)?


int i=0x1 << sizeof(int) * 8-1;

printf("\n%x", i);

i = i >> sizeof(int) * 8-1;

printf("%d", i);

A
0x8000000-1
B
80000000-1
C
-1 0x0000000
D
-1 0000000
Question 46 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
C is

A
General-purpose programming language
B
Domain-specific programming language
C
Page description programming language
D
None of the above
Question 47 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Name the loop that executes at least once.

A
For
B
if
C
do-while
D
while
Question 48 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
If we want to swap value of a,b by passing to a function.By what mechanism we need to pass them?

A
call by value
B
call by reference
C
Both A and B
D
None
Question 49 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
102 = 100
Which of the following is used in Python to calculate ten squared?
A
10 ** 2
B
10 * 2
C
10 % 2
D
10 ** 10
Question 50 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
An OUTPUT is

A
information that goes INTO a computer or device
B
information that comes OUT of a computer or device
Once you are finished, click the button below. Any items you have not completed will be marked incorrect. Get Results
There are 50 questions to complete.
<!–nextpage–>

C programming Interview campus placement

Congratulations - you have completed C programming Interview campus placement.

You scored %%SCORE%% out of %%TOTAL%%.

Your performance has been rated as %%RATING%%


Your answers are highlighted below.
Question 51 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
You are performing an arithmetic operation and have placed the desired result type in parentheses followed by a variable to be cast with the result. What is this an example of?

A
implicit casting
B
intrinsic casting
C
automatic casting
D
explicit casting
Question 52 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Determine the value of this expression using integer arithmetic:

5 % 7

A
0
B
2
C
5
Question 53 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Choose a correct statement.

A
C Compiler converts your C program into machine readable language.
B
C Editor allows you to type C Programs. It is just like a Notepad with extra options.
C
Console shows the output of a C Program if it is text output.
D
All the above
Question 54 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
How many times CppBuzz.com is printed?

int main()

{

int a = 0;

while(a++);

{

printf("CppBuzz.com");

}


return 0;

}

A
0 time
B
1 time
C
Compilation Error
D
Infinite times
Question 55 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
select input statement

A
main
B
scanf
C
printf
D
fprintf
Question 56 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
If void is the return type of a function, the function is capable of .....

A
returning value of any type
B
returning multiple values
C
returning no value
D
all of the above
Question 57 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What will the output be from the following code?
print("Hello world!")
A
SyntaxError
B
Hello world!
C
"Hello world!"
D
print(Hello world!)
Question 58 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What type of programming block is shown?

Computer C programming MCQ
A
switch block
B
sensor block
C
my block
D
wait block
Question 59 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Find Error/ output in following code

int main ()

{

int x = 1;

While (x= 0)

printf (" Hello");

}

A
Hello
B
No output
C
Infinite time Hello display
D
Error in code
Question 60 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
..... are used to create a multi dimensional array.
A
Single round brackets
B
Single square brackets
C
Multiple squares brackets
D
Single angled brackets
Once you are finished, click the button below. Any items you have not completed will be marked incorrect. Get Results
There are 60 questions to complete.
<!–nextpage–>

C programming Interview campus placement

Congratulations - you have completed C programming Interview campus placement.

You scored %%SCORE%% out of %%TOTAL%%.

Your performance has been rated as %%RATING%%


Your answers are highlighted below.
Question 61 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
int x = 10;


int main()

{

int x = 0;

printf("%d",x);

return 0;

}

A
10
B
0
C
compile error
D
undefined
Question 62 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What is used to represent the NOT operator?

A
!
B
!!
C
&&
D
||
Question 63 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Select the incorrect statements related to Programming Languages

A
Assembler is not a translator
B
High level languages are closer to machine
C
Machine codes are written in binary digits.
D
All the above
Question 64 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What type of programming block is shown?

Computer C programming MCQ
A
switch
B
sensor
C
my block
D
motor
Question 65 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What JavaScipt function is used to print a statement?

A
print
B
println
C
var
D
or
Question 66 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
How does strings are declared?

A
1. String name;
B
Char name [20];
C
Char name{20};
D
None of the above
Question 67 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Assume you are at the operating system command line and want to use the following command to compile a program:

javac MyClass.java

Before entering the command you must

A
close all open windows on your computer system
B
make sure you are in the same directory or folder where the MyClass.java file is located
C
execute the java.sun.com program
D
save the program with the .comp extension
Question 68 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
#include<stdio.h>

int main()

{

int a=2,b=7,c=10;

c=a==b;

printf("%d",c);

}

A
0
B
7
C
2
D
Compilation error
Question 69 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Which operator has the lowest priority?

A
++
B
%
C
+
D
||
Question 70 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
In ..... the original version is passed to the function

A
call by value
B
call by reference
C
call by function
D
call by name
Once you are finished, click the button below. Any items you have not completed will be marked incorrect. Get Results
There are 70 questions to complete.
<!–nextpage–>

C programming Interview campus placement

Congratulations - you have completed C programming Interview campus placement.

You scored %%SCORE%% out of %%TOTAL%%.

Your performance has been rated as %%RATING%%


Your answers are highlighted below.
Question 71 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What will be the output of the following C code?

#include <stdio.h>

int main()

{

while ()

printf("In while loop ");

printf("After loop\n");

}

A
In while loop after loop
B
After loop
C
Compile time error
D
Infinite loop
Question 72 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Is the sub routine a procedure or a function?

Computer C programming MCQ
A
Procedure
B
Function
Question 73 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What technique involves the packaging of an object's attributes and methods into a cohesive unit that can be used as an undivided entity?

A
Polymorphism
B
Inheritance
C
Interface
D
Encapsulation
Question 74 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What does the acronym "REPL" stand for in programming language terms?

Computer C programming MCQ
A
Read-Evaluate-Print-Loop
B
Really-Enormous-Programming-Language
C
REality-PLus
D
Ready-Enough-Program-Logic
Question 75 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Is it possible to run program without main() function?

A
yes
B
no
C
-
D
-
Question 76 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
C language was developed by Dennis Ritchie at Bell Laboratories in year.....

A
1963
B
1972
C
1969
Question 77 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
An array uses .....

A
dynamic memory allocation
B
contiguous memory allocation
C
sparse allocation
D
NOTA
Question 78 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What are the two types of selection that can be used in a conditional statement?

A
Binary
B
Multiple Choice
C
Random
D
correctchoice Multi-Way
Question 79 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
A WHILE loop will always execute at least once.
A
False
B
True
Question 80 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Identify the correct comparison operator...
"="
A
Equal to.
B
Greater or equal to.
C
Less than or equal to.
D
Not equal to.
Once you are finished, click the button below. Any items you have not completed will be marked incorrect. Get Results
There are 80 questions to complete.
<!–nextpage–>

C programming Interview campus placement

Congratulations - you have completed C programming Interview campus placement.

You scored %%SCORE%% out of %%TOTAL%%.

Your performance has been rated as %%RATING%%


Your answers are highlighted below.
Question 81 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Which of these lines of Python code will output the third item from a list called 'games'? Computer C programming MCQ
A
print(games[2])
B
print games(3)
C
print(games[3])
D
print (games(2))
Question 82 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Choose a correct statement about C String.

char ary[]="Hello..!";

A
Character array, ary is a string.
B
Array has no Null character at the end
C
String size is not mentioned
D
String can not contain special characters.
Question 83 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
A preprocessor directive is a message from programmer to the pre-processor.
A
True
B
False
Question 84 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What will be the output of following program:

#include<stdio.h>

main(){

}

A
Garbage
B
Compile time error
C
Run time error
D
No output
Question 85 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
types of function in C

A
user defined function
B
pre defined function
C
both 1&2
D
none of these
Question 86 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What value will be stored in z if the following code is executed?

x = 5 , y = -10, a = 4, b = 2;

z = x+++++y * b/a;

A
-2
B
0
C
1
D
2
Question 87 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
We cannot develop any code unless we have physically the components and the board where to upload the code when finished.

A
True
B
False
Question 88 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
To do the exercises in Bitbloq Nuria gives you its necessary to join the classroom by entering a specific code

A
False. I can do exercises freely and share them later with her
B
True. Each class has its specific code
Question 89 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
If string...name='Patrick', what is the value returned for string...name[2:3]?
A
A.'t'
B
B.'a'
C
C.'r'
D
D.'tri'
Question 90 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Borderline tests check the minumum and maximum values of an input.
A
True
B
False
Once you are finished, click the button below. Any items you have not completed will be marked incorrect. Get Results
There are 90 questions to complete.
<!–nextpage–>

C programming Interview campus placement

Congratulations - you have completed C programming Interview campus placement.

You scored %%SCORE%% out of %%TOTAL%%.

Your performance has been rated as %%RATING%%


Your answers are highlighted below.
Question 91 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Which generation?

Computer C programming MCQ
A
Machine Code - Low
B
Assembly Code - Low
C
High Level
Question 92 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
stderr is similar to?

A
stdin
B
stdout
C
both stdout and stdin
D
None of the mentioned
Question 93 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
"Repeat until basket empty" is what part of the code?

Computer C programming MCQ
A
step
B
variable
C
loop
D
conditional
Question 94 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
what is a LOOP function?

A
something that only happens once
B
something that gets repeated
Question 95 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What punctuation is used to signal the beginning and end of code blocks?

A
{ }
B
-> and <-
C
BEGIN and END
D
( and )
Question 96 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Which of the following is a software component of Database management system that updates and deletes data from a database?
A
A.Query language processor
B
B.SQL query
C
C.DBMS engine
D
D.None of the above
Question 97 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
When a class is used to build an object, the object is call a(n) ..... of the class.
A
method
B
property
C
instance
D
object
Question 98 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
a line of text that Python won't try to run as code
A
comment
B
modulo
C
variable
D
boolean
Question 99 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Which of this command has errors? Select multiple

A
System.out.print("Hello World")
B
correctchoice System.out.print(Hello World);
C
correctchoice System.out.Print("Hello World);
D
System.out.print("Hello World");
Question 100 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What will be the output of the following C code?

Computer C programming MCQ
A
True
B
False
C
True False
D
No Output
Once you are finished, click the button below. Any items you have not completed will be marked incorrect. Get Results
There are 100 questions to complete.
<!–nextpage–>

C programming Interview campus placement

Congratulations - you have completed C programming Interview campus placement.

You scored %%SCORE%% out of %%TOTAL%%.

Your performance has been rated as %%RATING%%


Your answers are highlighted below.
Question 101 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What will be the output of the following C code? (Assuming that we have entered the value 1 in the standard input)

Computer C programming MCQ
A
1
B
2
C
1 2
D
Run Time Error
Question 102 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What does the shown programming block do?

Computer C programming MCQ
A
turns on b & c motors at 50% power
B
moves b & c motors 50 degrees
C
moves b & c motors 50 revolutions
D
moves b & c motors for 50 seconds
Question 103 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What combination of properties and functions would you use to draw a rectangle and fill it with a particular color?

A
GraphicsWindow.DrawColorGraphicsWindow.InputRectangleGraphicsWindow.FillColorGraphicsWindow.FillRectangle
B
GraphicsWindow.PenColorGraphicsWindow.AddRectangleGraphicsWindow.BrushColorGraphicsWindow.Paint
C
GraphicsWindow.MoveGraphicsWindow.AddRectangleGraphicsWindow.FillColorGraphicsWindow.AddFill
D
GraphicsWindow.PenColorGraphicsWindow.DrawRectangleGraphicsWindow.BrushColorGraphicsWindow.FillRectangle
Question 104 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What is the output of the following printf


printf("%d",34+24/12%3*5/2-4);

A
35
B
-2
C
34
D
38
Question 105 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What is the term for ..."a sequence of logical instructions or steps needed to finish a task. Can be performed with or without a computer"?

A
design
B
coding
C
algorithm
D
program
Question 106 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
int arr[100];

Total number of elements in the above array is .....

A
100
B
99
C
0
D
1
Question 107 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What is an instruction?

A
A box in a flowchart
B
A calculation performed in a programming language
C
One or more statements grouped together to instruct the computer to perform a task
D
A separate file that has information on how to install the program
Question 108 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Which is the only function all C programs must contain?

A
start()
B
system()
C
printf()
D
main()
Question 109 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What is the output of C Program.?

int main()

{

int a=5;

while(a==5)

{

printf("RABBIT");

break;

}

return 0;

}

A
RABBIT is printed unlimited number of times
B
RABBIT
C
Compiler error
D
None of the above.
Question 110 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Data and Information are both same with respect to Computer

A
True
B
False
Once you are finished, click the button below. Any items you have not completed will be marked incorrect. Get Results
There are 110 questions to complete.
<!–nextpage–>

C programming Interview campus placement

Congratulations - you have completed C programming Interview campus placement.

You scored %%SCORE%% out of %%TOTAL%%.

Your performance has been rated as %%RATING%%


Your answers are highlighted below.
Question 111 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What does the following code do?
Score = Score + 1
A
Nothing
B
prints score
C
Displays 1
D
adds 1 onto the score
Question 112 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
There is an error in the code below. What line is the error in? Computer C programming MCQ
A
Line 1
B
Line 3
C
Line 5
D
Line 7
Question 113 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
How can you save a file in BlueJ?
A
Call File - Save from the menu bar
B
Hit the compile button
C
use CTRL-S for a save shortcut
Question 114 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What symbol is used to add comments in Python?
A
A.#
B
B.%
C
C.//
D
D.!
Question 115 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What is the Output:

int a=5,b=6,c=2;

printf("%d", a+b*c);

A
17
B
22
C
11
D
Error
Question 116 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Which is correct example for variable declaration?

A
int a;b;c;
B
Int a,b,c;
C
int a,b,c;
D
int a,b;c;
Question 117 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
It is an artificial and informal language that helps programmers develop algorithms.

A
Pseudo Code
B
Flowchart
C
Algorithm
D
Procedure
Question 118 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Which form of translator works by translating the entire program code into a seperate executable object code version?

Computer C programming MCQ
A
Interpreter
B
Assembler
C
Compiler
D
Compressor
Question 119 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
In which header file is the NULL macro defined?

A
stdio.h
B
stddef.h
C
stdio.h and stddef.h
D
math.h
Question 120 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Which of these is a general purpose language?

A
JS
B
Ruby
C
HTML
D
JS
Once you are finished, click the button below. Any items you have not completed will be marked incorrect. Get Results
There are 120 questions to complete.
<!–nextpage–>

C programming Interview campus placement

Congratulations - you have completed C programming Interview campus placement.

You scored %%SCORE%% out of %%TOTAL%%.

Your performance has been rated as %%RATING%%


Your answers are highlighted below.
Question 121 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
In Scratch, arguments are represented as:
A
ovals or hexagons.
B
squares.
C
rectangles.
D
circles.
Question 122 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Many loop control variable values rely on an added value through each loop. What type of loop control variable is this?

A
A reducing loop control variable.
B
An expanding loop control variable
C
An incrementing loop control variable
D
A comparing loop control variable.
Question 123 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Evaluate(to true or false) each of the following expressions:

(1) 14 <= 14

(2) 14 < 14

A
false false
B
true true
C
true false
D
false true
Question 124 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Denary 28 = Binary .....
A
11100
B
11011
C
10101
D
11110
Question 125 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
C is developed by.....

A
Dennis Franklin
B
Dennis Ritche
C
Dennis williams
D
Dennis John
Question 126 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
In programming, a 'CONSTANT' is...
A
...a named storage space reserved in memory for a piece of data, which can change during the life of the program.
B
...a piece of code which changes constantly
C
...a names storage space reserved for a piece of data which does not change within the program.
D
...a variable which does not change.
Question 127 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What is an Algorithm?

A
A picture that you use to make a program
B
A precise set of instructions
C
Shapes and symbols connected together
D
Breaking a problem down into smaller tasks
Question 128 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Variable names can include spaces.
A
False
B
True
Question 129 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Consider the following expression: a = b. This means

Computer C programming MCQ
A
a will always be equal to b
B
b is being renamed into a
C
The value of memory location a gets copied into memory location b
D
The value of memory location b gets copied into memory location a
Question 130 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
4 + 26 =

A
30
B
22
C
426
D
"426"
Once you are finished, click the button below. Any items you have not completed will be marked incorrect. Get Results
There are 130 questions to complete.
<!–nextpage–>

C programming Interview campus placement

Congratulations - you have completed C programming Interview campus placement.

You scored %%SCORE%% out of %%TOTAL%%.

Your performance has been rated as %%RATING%%


Your answers are highlighted below.
Question 131 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Commonly used input function is .....

A
scanf()
B
printf()
C
getch()
D
putch()
Question 132 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
It is an optional statement used to describe what a program or a line of program is doing.

A
tag
B
command
C
code
D
comment
Question 133 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What method from the Convert class can be used to convert a specified value to an 8-bit unsigned integer?

A
ToByte()
B
ToDecimal()
C
ToSingle()
D
ToInt16()
Question 134 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What method can be used to accept user input from the keyboard on the console?

A
Input()
B
Next()
C
NextLine()
D
ReadLine()
Question 135 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Q5: Consider the following expression: a:=b. This means (6-9)
A
a will always be equal to b
B
b is being renamed into a
C
value of memory location a gets copied to memory location b
D
value of memory location b gets copied to memory location a
Question 136 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What symbol is used to assign values in Python?
A
A.=
B
B.==
C
C.$\leftarrow$
Question 137 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Choose the languages that can make some sort of application.

A
SQL
B
JS
C
correctchoice Python
D
correctchoice Ruby
Question 138 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Which of the following controls the way in which the computer system works and give means by which users can interact with the computer?

A
The motherboard
B
operating system
C
application software
D
RAM
Question 139 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Which of the following statements about functions is false?

A
The main() function can be called recursively
B
Functions cannot return more than one value at a time
C
A function can have multiple return statements with different return values
D
The maximum number of arguments a function can take is 128
Question 140 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What term is used to describe a variable being given a value?

A
Equals
B
Assignment
C
Input
D
Algorithm
Once you are finished, click the button below. Any items you have not completed will be marked incorrect. Get Results
There are 140 questions to complete.
<!–nextpage–>

C programming Interview campus placement

Congratulations - you have completed C programming Interview campus placement.

You scored %%SCORE%% out of %%TOTAL%%.

Your performance has been rated as %%RATING%%


Your answers are highlighted below.
Question 141 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Valid tests check that a program rejects incorrect input.
A
False
B
True
Question 142 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
1 GB is equal to .....

A
1024KB
B
1024 Byte
C
1024MB
D
1024 nano
Question 143 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Which of the following is a CONDITIONAL

A
jump 5 times
B
if you see an arrow then jump 5 times else sit down
C
if you see an arrow
Question 144 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Which is the correct sequence statements that swaps values of two statements?

A
a=a+b; a=a-b; b=a-b;
B
a=a+b, b=a-b; a=a-b;
C
a=a-b; a=a+b; b=b-a;
D
None of these
Question 145 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What will the following lines of code do? Computer C programming MCQ
A
A
B
B C
C
A C
D
Nothing, it will return an error
Question 146 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Which data type would you use for the quantity of stock in a shop?

A
integer
B
float
C
string
D
boolean
Question 147 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Name the logic gate Computer C programming MCQ
A
AND
B
OR
C
NOT
Question 148 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
An array Index starts with.?

A
-1
B
0
C
1
D
2
Question 149 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
A two-dimensional array Array...2d consists of data: [[1, 2, 3, 4], [5, 6, 7, 8], [9, 10, 11, 12]]. What is the output of len(print(Array...2d[2])?
A
A.1
B
B.3
C
C.4
D
D.12
Question 150 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
A simple way of describing a set of instructions that does not have to use specific syntax is called:

A
Flow Chart
B
Pseudocode
C
Shapes
Once you are finished, click the button below. Any items you have not completed will be marked incorrect. Get Results
There are 150 questions to complete.
<!–nextpage–>

C programming Interview campus placement

Congratulations - you have completed C programming Interview campus placement.

You scored %%SCORE%% out of %%TOTAL%%.

Your performance has been rated as %%RATING%%


Your answers are highlighted below.
Question 151 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
..... is a collection of elements used to store the same type of data.
A
Array
B
Switch
C
Case
D
Loop
Question 152 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
The number of times the angry bird repeats moving forward to catch the green pig.

Computer C programming MCQ
A
2
B
4
C
6
D
10
Question 153 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What does the print command do?

A
Outputs a hard copy of a program to a printer
B
Outputs a message on screen
C
Print a hard copy of a flow chart to a printer
D
Prints out the the commands line by line on the screen
Question 154 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What will be the output of the following C code?

#include <stdio.h>

int main()

{

do{

printf("In while loop ");

}while (0);

printf("After loop\n");

}

A
In while loop
B
In while loop after loop
C
After loop
D
Infinite loop
Question 155 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Which Scratch block would be used for Iteration?

A
Computer C programming MCQ
B
Computer C programming MCQ
C
Computer C programming MCQ
Question 156 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
How many number of pointer(*)does C have against a pointer variable declaration?

A
7
B
no limits
C
127
D
255
Question 157 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What will be the output of the following C code?

Computer C programming MCQ
A
H
B
H is printed infinite times
C
Compile time error
D
Varies
Question 158 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Q8: The multiplication table is best displayed using this data type (4-6)
A
Boolean
B
Character
C
Integer
D
Real
Question 159 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What is a subroutine?

A
A sequence of actions regularly followed.
B
Low level instructions
C
A set of instructions designed to perform a frequently used operation within a program.
D
A set of instructions
Question 160 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
++ and ... are unary operators.

A
True
B
False
Once you are finished, click the button below. Any items you have not completed will be marked incorrect. Get Results
There are 160 questions to complete.
<!–nextpage–>

C programming Interview campus placement

Congratulations - you have completed C programming Interview campus placement.

You scored %%SCORE%% out of %%TOTAL%%.

Your performance has been rated as %%RATING%%


Your answers are highlighted below.
Question 161 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
To effectively move the Turtle function across GraphicsWindow without making any lines or drawings, you must use which command?

A
Turtle.Turnoff
B
Turtle.Penup
C
Turtle.Nowrite
D
Turtle.noline
Question 162 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
C language was invented in which laboratories?

A
Uniliver Labs
B
IBM Labs
C
AT&T Bell Labs
D
Verizon Labs
Question 163 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
int *a[10];

Here 'a' is .....

A
An array of 10 integers
B
An array of 10 pointers to integer
C
A pointer to an array of 10 integers
D
NOTA
Question 164 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Find error/ output in following code

How many times " placement Questions" will print.

int main

{

int x;

for ( x=1;x <=10; x++)

{

if ( x < 5)

Continue;

else

break;

Printf (" placement Question ");

{

return 0;

}

A
Infinite time
B
11 times
C
0 time
D
10 times
Question 165 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
which of the following ways can be used to include header file in C program

A
#include"stdio.h"
B
#include<stdio.h>
C
both
D
none
Question 166 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What will be printed to the screen? Computer C programming MCQ
A
Nothing
B
Success
C
Failure
D
Success
Failure
Question 167 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
#include <stdio.h>

int main()

{

signed char chr;

chr = 128;

printf("%d\n", chr);

return 0;

}

A
128
B
0
C
-128
D
Garbage Value
Question 168 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
int main ()

{

int x = 24, y = 39, z = 45;

z = x + y;

y = z - y;

x = z - y;

printf ("%d %d %d", x, y, z);

}

A
24 39 63
B
39 24 63
C
24 39 45
D
39 24 45
Question 169 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What function converts an ASCII code to its character in Python?
A
A.ASC()
B
B.ord()
C
C.chr()
D
D.ascii()
Question 170 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What is storage class for variable A in below code?


void main()

{

int A;

A = 10;

printf("%d", A);

}

A
extern
B
register
C
auto
D
static
Once you are finished, click the button below. Any items you have not completed will be marked incorrect. Get Results
There are 170 questions to complete.
<!–nextpage–>

C programming Interview campus placement

Congratulations - you have completed C programming Interview campus placement.

You scored %%SCORE%% out of %%TOTAL%%.

Your performance has been rated as %%RATING%%


Your answers are highlighted below.
Question 171 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
choose syntactically correct C language statement

A
print("Hello");
B
printf("Hello"):
C
printF("Hello");
D
printf("Hello");
Question 172 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
A DENARY number is base .....
A
2
B
10
C
16
D
20
Question 173 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
what is the inital value of extern storage class specifier

A
0
B
Null
C
Garbage
D
Infinite
Question 174 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What will be printed on the screen from this fragment:

int num=0;

printf("%d", ++num)

A
0
B
1
C
2
Question 175 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
When you code you...
A
walk to the right and turn
B
spin in circles
C
create a list of instructions the computer can follow
D
draw a picture
Question 176 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
The operator "&" is used for

A
Bitwise AND
B
Bitwise OR
C
Logical AND
D
Logical OR
Question 177 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
No ..... is allowed in variable

A
+ sign
B
- sign
C
0
D
Blank space
Question 178 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
The programming method that utilizes reused items.
A
procedural
B
object-oriented
C
methodical
D
sequential
Question 179 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
A program prompts the user to input values to an array. What programming structure is required for this?
A
A.Case structures
B
B.If else .
C
C.Iteration
D
D.None of the above
Question 180 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What must be done once a C# program has been finished before it can be used?

A
It must be compiled into intermediate language.
B
It must be stripped of all comments before it can run.
C
It must be passed through a garbage collector to reduce unnecessary instructions.
D
It must be fed to a runtime interpreter.
Once you are finished, click the button below. Any items you have not completed will be marked incorrect. Get Results
There are 180 questions to complete.
<!–nextpage–>

C programming Interview campus placement

Congratulations - you have completed C programming Interview campus placement.

You scored %%SCORE%% out of %%TOTAL%%.

Your performance has been rated as %%RATING%%


Your answers are highlighted below.
Question 181 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
C program converted into machine language with the help of

A
An editor
B
A compiler
C
An operating system
D
none of these
Question 182 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What does the following code fragment write to the monitor?

Computer C programming MCQ
A
Under
B
Over
C
Under the limit
D
Over the limit
Question 183 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
How do you invoke a function?
A
function { };
B
function[x];
C
function();
D
(function);
Question 184 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
To convert high level language into machine language, we use

A
compiler
B
assembler
C
none of the above
Question 185 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Which data type is the most suited to store a telephone number in a variable?

A
string
B
integer
C
float
D
boolean
Question 186 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Which line of code is correct for the statement:

Read in a value for the integer variable num.

A
printf("%d", &num);
B
scanf("%d", num);
C
scanf("%d", &num);
Question 187 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
The process box is used when something happens, normally as a result of something in the program and is represented with this symbol.

A
Computer C programming MCQ
B
Computer C programming MCQ
C
Computer C programming MCQ
Question 188 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Which statement is used to extract data from a database?

A
Extract
B
Get
C
Open
D
Select
Question 189 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What is the value of printf:


printf("%d",sizeof(double));

A
8
B
10
C
4
D
6
Question 190 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
How many parameters does this function have? Computer C programming MCQ
A
1
B
2
C
3
D
5
Once you are finished, click the button below. Any items you have not completed will be marked incorrect. Get Results
There are 190 questions to complete.
<!–nextpage–>

C programming Interview campus placement

Congratulations - you have completed C programming Interview campus placement.

You scored %%SCORE%% out of %%TOTAL%%.

Your performance has been rated as %%RATING%%


Your answers are highlighted below.
Question 191 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
How many cycles does the following loop run for?

For i = 0 to 100 Step 10

Turtle.Move(100)

Turtle.Turn(90)

EndFor

A
100 Cycles
B
1 Cycles
C
20 Cycles
D
10 Cycles
Question 192 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
How many basic data types are there?

A
3
B
4
C
as many as you want
D
data types?
Question 193 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
The function name and the parameter list together constitute the .....

A
function signature
B
main function
C
input function
D
output function
Question 194 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What is a bug?

Computer C programming MCQ
A
An error in a computer program.
B
A programming element that repeats a set of code.
C
A set of code given to a computer to accomplish a task.
Question 195 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
The opening and closing braces should be balanced.

A
True
B
False
Question 196 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
How would you get the value "6" out of the following array?

Computer C programming MCQ
A
a [0][3]
B
a [1][3]
C
c) a[0][2]
D
d) a[2][0]
Question 197 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
In this algorithm, which of the following is a variable?

Computer C programming MCQ
A
password
B
loop
C
output
D
while
Question 198 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
You have a tutorial session, should you attend it?

A
Nah, we never do anything useful
B
If i can be bothered
C
Maybe, see how i feel.
D
yes.
Question 199 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What will be the output of the following C code?

Computer C programming MCQ
A
Undefined behavior
B
Output will be 3
C
Output will be 6
D
Output will be 5
Question 200 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Which of the following is the correct operator to compare two variables?

A
equal
B
=
C
:=
D
==
Once you are finished, click the button below. Any items you have not completed will be marked incorrect. Get Results
There are 200 questions to complete.
<!–nextpage–>

C programming Interview campus placement

Congratulations - you have completed C programming Interview campus placement.

You scored %%SCORE%% out of %%TOTAL%%.

Your performance has been rated as %%RATING%%


Your answers are highlighted below.
Question 201 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What is the output:

int i;

printf("%d", i);

A
0
B
Garbage value
C
1
D
Error
Question 202 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Arrays always have the same...
A
data types
B
text types
C
numbers
D
types of data
Question 203 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
The keyword used to transfer control from a function back to the calling function is
A
switch
B
goto
C
go back
D
return
Question 204 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What will be the output of the following C code?

#include <stdio.h>

int main()

{

int x = 0;

if (x == 1)

if (x == 0)

printf("inside if\n");

else

printf("inside else if\n");

else

printf("inside else\n");

}

A
inside if
B
inside else if
C
inside else
D
compile time error
Question 205 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Which database field type would be used to store a customer's account balance?
A
Numeric
B
Object
C
Currency
D
Text
Question 206 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What will be the output of the following program?

#include <stdio.h>

int main()

{

float c = 5.0;

printf ("Temperature in Fahrenheit is %.2f", (9/5)*c + 32);

return 0;

}

A
Temperature in Fahrenheit is 41.00
B
Temperature in Fahrenheit is 37.00
C
Temperature in Fahrenheit is 0.00
D
Compiler Error
Question 207 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Q12: The statement A OR B implies A & B are (4-6)
A
Integers
B
Strings
C
Booleans
D
Characters
Question 208 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
what will the output of the following code:

int main()

{

auto int i,j;

printf("%d%d",i,j);

return 0;

}

A
compile error
B
no output
C
garbage value
D
0
Question 209 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
select a valid assignment statement

A
a=5
B
5=a
C
a+b=c
D
5+4=3+2
Question 210 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Characteristics of a good program

A
A program should be easy to read and understand
B
correctchoice A program should be efficient
C
correctchoice A program must be robust
D
correctchoice A program should be maintainable
Once you are finished, click the button below. Any items you have not completed will be marked incorrect. Get Results
There are 210 questions to complete.
<!–nextpage–>

C programming Interview campus placement

Congratulations - you have completed C programming Interview campus placement.

You scored %%SCORE%% out of %%TOTAL%%.

Your performance has been rated as %%RATING%%


Your answers are highlighted below.
Question 211 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What is the term used for... "the set of rules for symbols, spelling and grammar of a specific programming language"?

A
diction
B
syntax
C
vocabulary
D
word wall
Question 212 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Which of the following is more appropriate for reading in a multi-word string?

A
scanf()
B
printf()
C
puts()
D
gets()
Question 213 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What will strcmp() function do?

A
compares the first n characters of the object
B
compares the string
C
undefined function
D
copies the string
Question 214 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Which of the following is NOT a repetition/iteration control structure used in C#?

A
for
B
repeat
C
while
D
do while
Question 215 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What does this flowchart symbol represent? Computer C programming MCQ
A
data input / output
B
start / end
C
decision
D
wait
Question 216 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What is the code snippet that will print the all numbers

from 1 - 100 in reverse?

A
for (int x =100;x>0;x...) cout<<x<<endl;
B
int x = 100; while (x>0){ cout<<x<<endl; x...; }
C
int x=100; do{ cout<<x<<endl; x...; } while (x>=100);
D
for (int x=101;x>0;x...) cout<<x<<endl;
Question 217 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
The & is .....

A
Pointer operator
B
Bitwise AND operator
C
Address of operator
D
Both options 2) and 3)
Question 218 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Human communicates with computer using ..... language.
A
sign
B
English
C
Machine
D
Programming
Question 219 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
A function...
A
Never has parameters
B
Always returns a value
C
Must has parameters
D
Does not return a value
Question 220 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
The ..... operator checks if the value of left operand is greater than the value of right operand.

A
= =
B
<
C
>
D
=
Once you are finished, click the button below. Any items you have not completed will be marked incorrect. Get Results
There are 220 questions to complete.
<!–nextpage–>

C programming Interview campus placement

Congratulations - you have completed C programming Interview campus placement.

You scored %%SCORE%% out of %%TOTAL%%.

Your performance has been rated as %%RATING%%


Your answers are highlighted below.
Question 221 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
When the flow of this code gets to the boolean, what question will be asked? Computer C programming MCQ
A
Is it true that the c key was pressed or is it false?
B
What is the size of the Sprite?
C
Is it true that the angry function was called or is it false?
D
Is the Sprite angry?
Question 222 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Complete the syntax for 'for' structure in Python:
A
for variable in . :
B
print (k, "times 4 is ", k*4)
C
A.(numbers)
D
B.range(numbers)
Question 223 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What will be the output of the following C code?

Computer C programming MCQ
A
3 2 3
B
2 2 3
C
3 2 2
D
2 3 3
Question 224 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What is the output of C Program with Strings.?


int main()

{

char str[]={'g','l','o','b','e'};

printf("%s",str);

return 0;

}

A
g
B
globe
C
globe\0
D
None of the above
Question 225 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Switch statement is a .....

A
multi-way decision
B
one-way-decision
C
two-way decision
D
above all
Question 226 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
The artist is supposed to draw a triangle by following gray lines. In the workspace as shown below, you can see that the first line of code will be drawing the bottom line. Next, what degree should the artist turn left?

Computer C programming MCQ
A
11
B
12
C
120
D
13
Question 227 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Which line of code is correct for the statement:

Add 1 variable to x.

A
x++;
B
x+1
C
x+x
Question 228 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Size of the array need not be specified, when

A
Initialization is a part of definition
B
It is a formal parameter
C
It is a declaration
D
All of the above
Question 229 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What is an Array?

A
A data structure that does not allow you to hold several values with one name.
B
An impressive range of lights.
C
A data structure that allows you to hold several values, all of the same type, with one name.
D
A data structure that allows you to hold several values, all of the same type, with one name.
Question 230 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
An opertor used to check a condition and select a value depending on the value of the condition is called

A
Logical operator
B
Decrement operator
C
Conditional or Ternary operator
D
Bitwise operator
Once you are finished, click the button below. Any items you have not completed will be marked incorrect. Get Results
There are 230 questions to complete.
<!–nextpage–>

C programming Interview campus placement

Congratulations - you have completed C programming Interview campus placement.

You scored %%SCORE%% out of %%TOTAL%%.

Your performance has been rated as %%RATING%%


Your answers are highlighted below.
Question 231 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
He began the development of a B compiler which, among

other things, was able to generate executable code

directly that was finally called C.

A
Ken Thompson
B
Dennis Ritchie
C
Bjarne Stroustrup
D
James Gosling
Question 232 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Which of the following is a real number?
A
A.3
B
B.3.5
C
C.-4
D
D.All of the above
Question 233 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What does this flowchart symbol represent?

Computer C programming MCQ
A
Starting and stopping
B
Actions
C
Sub-routines
D
Decisions
Question 234 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
which is the only function all C programs must contain?

A
printf()
B
scanf()
C
getch()
D
main()
Question 235 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Which level would create the easiest code for humans to understand?

A
Low
B
Assembly
C
High
Question 236 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
A block of code that is referred by a single name is known as .....

A
for loop
B
function
C
if block
D
break
Question 237 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What is programming?
A
Creating a calendar of events.
B
Writing instructions for a digital tool
C
A list of activities like clubs and special events at a school.
Question 238 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
You cannot complete an expression that mixes variables and constants.
A
False
B
True
Question 239 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What data type would hold the value 64?

A
Integer
B
Boolean
C
String
D
Float
Question 240 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What is the output of C Program.?

int main()

{

int a=5;

while(a >= 3);

{

printf("RABBIT\n");

break;

}

printf("GREEN");

return 0;

}