¡GoConqr estrena diseño! Cuéntanos qué te parece.

Test

.NET(51-100)

Rizabek Kabzhanov 50 preguntas 5,0 (1 valoración)

Hacer el test

Preguntas del test (50)

  1. 1Which of the following methods is the best to use to draw an empty triangle?
    1. AGraphics.DrawLines
    2. BGraphics.DrawRectangle
    3. CGraphics.DrawPolygon
    4. DGraphics.DrawEllipse
    5. EGraphics.FillRectangle
    6. FGraphics.FillPolygon
    7. GGraphics.FillEllipse
  2. 2Which of the following classes is required to draw an empty circle? (Choose 2)
    1. ASystem.Drawing.Graphics
    2. BSystem.Drawing.Pen
    3. CSystem.Drawing.Brush
    4. DSystem.Drawing.Bitma
  3. 3Which of the following brush classes is the best to use to create a solid rectangle that is red at the top and gradually fades to white towards the bottom?
    1. ASystem.Drawing.Drawing2D.HatchBrush
    2. BSystem.Drawing.Drawing2D.LinearGradientBrush
    3. CSystem.Drawing.Drawing2D.PathGradientBrush
    4. DSystem.Drawing.SolidBrush
    5. ESystem.Drawing.TextureBrush
  4. 4What type of line would the following code sample draw? // C#Graphics g = this.CreateGraphics(); Pen p = new Pen(Color.Red, 10); p.StartCap = LineCap.Flat; p.EndCap = LineCap.ArrowAnchor; g.DrawLine(p, 50, 50, 400, 50);
    1. AAn arrow pointing up
    2. BAn arrow pointing down
    3. CAn arrow pointing left
    4. DAn arrow pointing right
  5. 5
    Which of the following classes could you use to display a JPEG image from an existing file in a form? (Choose 2)
    1. ASystem.Drawing.Image
    2. BSystem.Drawing.Bitmap
    3. CSystem.Drawing.Imaging.Metafile
    4. DSystem.Windows.Forms.PictureBox
  6. 6How can you draw a black border around a JPEG image that you have saved to disk and then save the updated image back to the disk?
    1. ACreate a Graphics object by loading the JPEG image from the disk. Draw the border by calling Graphics.DrawRectangle. Finally, save the updated image by calling Graphics.Save.
    2. BCreate a Bitmap object by loading the JPEG image from the disk. Draw the border by calling Bitmap.DrawRectangle. Finally, save the updated image by calling Bitmap.Save.
    3. CCreate a Bitmap object by loading the JPEG image from the disk. Create a Graphics object by calling Graphics.FromImage. Draw the border by calling Graphics.DrawRectangle. Finally, save the updated image by calling Bitmap .Save.
    4. DCreate a Bitmap object by loading the JPEG image from the disk. Create a Graphics object by calling Bitmap.CreateGraphics. Draw the border by calling Graphics.DrawRectangle. Finally, save the updated image by calling Bitmap .Save.
  7. 7Which format is the best choice to use if you want to save a photograph that could be opened by a wide variety of applications?
    1. AImageFormat.Bmp
    2. BImageFormat.Gif
    3. CImageFormat.Jpeg
    4. DImageFormat.Png
  8. 8Which format is the best choice to use if you want to save a pie chart that could be opened by a wide variety of applications?
    1. AImageFormat.Bmp
    2. BImageFormat.Gif
    3. CImageFormat.Jpeg
    4. DImageFormat.Png
  9. 9What are the steps for adding text to an image?
    1. ACreate a Graphics object and a string object. Then call string.Draw.
    2. BCreate a Graphics object, a Font object, and a Brush object. Then call Graphics.DrawString.
    3. CCreate a Graphics object, a Font object, and a Pen object. Then call Graphics.DrawString.
    4. DCreate a Bitmap object, a Font object, and a Brush object. Then call Bitmap.DrawString.
  10. 10Which class would you need to create an instance of to specify that a string should be centered when drawn?
    1. AStringFormat
    2. BStringAlignment
    3. CFormatFlags
    4. DLineAlignment

Información

Descripción
Test sobre .NET(51-100), creado por Rizabek Kabzhanov el 16/05/2018.
Idioma
English
Visitas
72
Valoración
5,0 de 5 · 1 valoración
Valora este test
Valora este test

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?