FIleHandling_NUnit

FIleHandling_NUnit

Professional Development

10 Qs

quiz-placeholder

Similar activities

Pretest 2

Pretest 2

Professional Development

15 Qs

Medicare Overpayments

Medicare Overpayments

12th Grade - Professional Development

10 Qs

Effective Filing Records & Office Management Skills

Effective Filing Records & Office Management Skills

Professional Development

10 Qs

txt

txt

KG - Professional Development

15 Qs

NOTE 20 Pictograph

NOTE 20 Pictograph

Professional Development

10 Qs

SEO Quiz IA RICARDO

SEO Quiz IA RICARDO

Professional Development

10 Qs

Base de Datos - Lab - S2

Base de Datos - Lab - S2

Professional Development

12 Qs

Abstract, Interfaces, Exceptions, IO, GUI - DDP2

Abstract, Interfaces, Exceptions, IO, GUI - DDP2

University - Professional Development

10 Qs

FIleHandling_NUnit

FIleHandling_NUnit

Assessment

Quiz

Other

Professional Development

Hard

Created by

Koushik T

Used 12+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Choose the namespace which consists of classes that are part of .NET Reflection API?

System.Text

System.Name

System.Reflection

None of the mentioned

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Consider you need to write a code to create a file named "filename.txt" and write some content to it. Which code snippet will you use to perform this task without any errors? Analyze the given choices and select the correct option.

string writeText = "Hello World!";

File.WriteAllText("filename.txt", writeText);

string readText = File.ReadAllText("filename.txt");

Console.WriteLine(readText);

string writeText : "Hello World!";

File.WriteAllText("filename.txt", writeText);

string readText : File.ReadAllText("filename.txt");

Console.WriteLine(readText);

string writeText = "Hello World!";

File.WriteText("filename.txt", writeText);

string readText = File.ReadText("filename.txt");

Console.Write(readText);

File.WriteAllText("filename.txt", writeText);

string readText = File.ReadAllText("filename.txt");

Console.WriteLine(readText);

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

The FileName property retrieves the name of a file selected

True

False

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A layered application may have a front end to handle the presentation and a ______________ to execute the business logic.

Objects

Database

Front End

Back End

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In NUnit What does "Assert" do?

Initialize objects and set the value of the data that is passed to method being tested.

Invokes the methods being tested

Verifies that the methods being tested behave as expected

None of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In NUnit what does "Act" does?

Initialize objects and set the value of the data that is passed to method being tested.

Invokes the methods being tested.

Verifies that the methods being tested behave as expected.

All of the above

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a type of software testing?

System Testing

Unit Testing

Liver Function Test

None of the above

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?