Search Header Logo

Graphics14

Authored by Abhishek Pandey

Computers

University

Used 2+ times

Graphics14
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which header file is required to use graphics functions in C?

stdio.h

conio.h

time.h

graphics.h

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function initializes the graphics mode in C using graphics.h?

  • initgraph()

  • startgraph()

  • beginGraphics()

closegraph()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the closegraph() function do?

Sets the background color

Closes the graphics mode and deallocates memory

Initializes the graphics mode

Draws a circle on the screen

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to draw a circle in graphics.h?

circle()

MAKECIRCLE()

getCircle()

createcircle()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to set the color of the drawing in graphics.h?

setcolor()

setfillstyle()

setbkcolor()

settextstyle()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the initgraph() function, which parameter specifies the graphics driver?

The first parameter

The second parameter

The Third parameter

The last parameter

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following functions draws a rectangle?

drawRect()

setrectangle()

rectangle()

ractBox

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?