C# Basic

C# Basic

Professional Development

30 Qs

quiz-placeholder

Similar activities

C Questions for BCA & BSc

C Questions for BCA & BSc

University - Professional Development

30 Qs

Java Basics

Java Basics

Professional Development

27 Qs

Core Java Assessment

Core Java Assessment

Professional Development

25 Qs

MSS Big Byte Of C

MSS Big Byte Of C

11th Grade - Professional Development

30 Qs

Chapter 4 : JavaScript Introduction

Chapter 4 : JavaScript Introduction

Professional Development

33 Qs

Kiểm tra giữa kì lập trình Android

Kiểm tra giữa kì lập trình Android

Professional Development

30 Qs

Python Midterm Review

Python Midterm Review

KG - Professional Development

33 Qs

Scripting Languauges

Scripting Languauges

Professional Development

27 Qs

C# Basic

C# Basic

Assessment

Quiz

Computers

Professional Development

Medium

Created by

PRG TRAINER GLID

Used 5+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

To print "Foo Bar" on the console, we could use this command:

print("Foo Bar")

cout << "Foo Bar"

echo "Foo Bar"

System.out.println("Foo Bar")

Console.WriteLine("Foo Bar")

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

C# is an extension of ...

C

C++

Java

Objective-C

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which is the comment in C#?

// This is a comment

/* This is a comment

# This is a comment

:: This is a comment

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A line of characters in C# ...

string

str

String

chars

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which is correct?

x = 13;

num x = 13;

double x = 13;

int x = 13;

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which is correct?

int pi = 3.14D;

int pi = 3.14;

float pi = 3.14;

double pi = 3.14D;

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

To get the length of a string object called line

int n = line.Length;

int n = line.length();

int n = line.len();

int n = string.getLength(line);

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?