-
When x is less than one hundred
-
When x is greater than one hundred
-
When x equals one hundred
-
While it wants to
Test on C programming P6
Are you a fan of C programming language and want to learn about this programming language? The quiz below The network administrator has edited and sent you questions about this topic, invite you to experience.
-
Question 1. When is the code block (x <100) executed?
-
Question 2. How many times will the while loop repeat?
-
0
-
first
-
Infinite
-
Turn
-
-
Question 3. The return type of the function with the prototype: 'int func (char x, float v, double t);
-
char
-
int
-
float
-
double
-
-
Question 4. What is the result of the following command?
#include
void main ()
{
int x = 0;
switch (x)
{
case 1: printf ("One");
case 0: printf ("Zero");
case 2: printf ("Hello World");
}
}-
One
-
Is not
-
Hello the world
-
Zero Hello World
-
-
Question 5. Which of the following is the correct declaration of a cursor?
-
int x
-
int & x
-
ptr x
-
int * x
-
-
Question 6. Graphic mode includes the following issues:
-
How many colors
-
What colors are included?
-
How much is the screen resolution?
-
All 3 plans on
-
-
Question 7. In graphic mode, which of the following functions establishes the font type and size:
-
outtextxy (int x, int int, char far * textstring);
-
outtext (char far * textstring);
-
settextstyle (int font, int direction, int charsize);
-
All 3 answers above
-
-
Question 8. What is the best thing to say about floodfill functions (int x, int y, int Border);
-
Use to color a circle containing points (x, y)
-
Use to color a rectangle containing points (x, y)
-
Use to fill polygons containing points (x, y)
-
Used to color any closed domain containing points (x, y)
-
-
Question 9. The clip parameter in setviewport function (int x1, y1 int, int x2, int y2, int clip); what issue:
-
Allows to display or not to display brush strokes inside viewport
-
Allows to display or not to display brush strokes outside the viewport
-
Both are correct
-
Both are wrong
-
-
Question 10. What setset (int color) function does:
-
Set background color
-
Set the current drawing color
-
Both of these are true
-
Both are wrong
-
4.5 ★ | 2 Vote
Read More
- eQuiz - Multiple choice test on programming language C - part 1
- HTML test with answers - Part 2
- Test on C programming P4
- Test on JAVA test P5
- Test about programming C P3
- JAVA test on P3
- Set of multiple choice questions for programming with P8 prizes
- eQuiz - VB.NET testing test - Part 1
- Multiple choice questions about programming with P1 prize
- A set of multiple choice questions for programming has a P2 prize
- Set of multiple choice questions on award winning P4 programming
- Set of multiple choice questions on programming with P9
- eQuiz - VB.NET testing test - Part 2
- JAVA test test P1