Search Header Logo

C# Ex.01

Authored by Titus 2343

Computers

University

Used 1+ times

C# Ex.01
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

First line code of a c# program is

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which among the main method declarations is/are wrong

static void Main(string[] args)

public static void Main(string[] args)

void Main(string[] args)

static void Main()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Correct way to declare the main function in c#

static void Main(string[] args)

static void main(string[] args)

Static Void Main(string[] args)

static void Main(String[] args)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When --- keyword is used the data may pass in bi-directional. When --- keyword is used the data only passed in unidirectional.

Ref, Out

out, ref

ref,out

Out, Ref

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The ___ keyword is primarily used when you want to modify the original value of a variable within a method

Ref

Params

Val

Address

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

--- is used as a parameter which can take the variable number of arguments.

Param

Params

params

param

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is system in the following code

using System;

Namespace

Package

Nunit

Jar

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?