0% found this document useful (0 votes)
4 views16 pages

Application Dev Imp

The document contains a list of topics and questions related to C# programming, .NET Core, SQL, and database management, with a total score of 38 out of 40. It includes various multiple-choice questions covering programming concepts, syntax, data types, and methods in C#. The respondent's email is recorded, indicating the submission of the form.

Uploaded by

Smirti Dhakal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views16 pages

Application Dev Imp

The document contains a list of topics and questions related to C# programming, .NET Core, SQL, and database management, with a total score of 38 out of 40. It includes various multiple-choice questions covering programming concepts, syntax, data types, and methods in C#. The respondent's email is recorded, indicating the submission of the form.

Uploaded by

Smirti Dhakal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 16

5/9/25, 7:29 AM Questions

Questions Total points 38/40

The respondent's email ([email protected]) was recorded on submission of


this form.

Main topics to learn for MCQ

1. C# Programming Basics and Syntax


2.

Object-Oriented Programming (OOP)


3. Arrays, Data Types & Variables
4. Basic questions of .NET Core / MAUI / Web

5. Basic topics of SQL & Database


6. Memory(Variable scopes) & Performance (Heap/Stack Garbage collection)
7. Exception Handling
8. Built-in methods
9. Full Forms (1 or 2 might come)
10. Range of data type

https://docs.google.com/forms/d/e/1FAIpQLSdvgk27RxGX4Z7DN9RfdqTSuTPi5DkC-obRXTErPhjQ5vBEoQ/viewscore?viewscore=AE0zAgDA9zuB… 1/16
5/9/25, 7:29 AM Questions

What will be the output of the following C# code snippet? * 1/1

828

64 2 8

16 2 8

4 2 16

Which keyword is used to declare a constant value in C#? * 1/1

readonly

define

const

static

https://docs.google.com/forms/d/e/1FAIpQLSdvgk27RxGX4Z7DN9RfdqTSuTPi5DkC-obRXTErPhjQ5vBEoQ/viewscore?viewscore=AE0zAgDA9zuB… 2/16
5/9/25, 7:29 AM Questions

Which data type holds characters in C#? * 1/1

char

string

byte

bool

Which of the following is NOT an arithmetic operator in C#? * 1/1

**

What causes loops to skip the rest of the current iteration? * 1/1

Loop

Exit

Break

Continue

https://docs.google.com/forms/d/e/1FAIpQLSdvgk27RxGX4Z7DN9RfdqTSuTPi5DkC-obRXTErPhjQ5vBEoQ/viewscore?viewscore=AE0zAgDA9zuB… 3/16
5/9/25, 7:29 AM Questions

Which method splits a string based on a delimiter? * 1/1

Split()

Break()

Slice()

Divide()

Which method in C# applications is the starting point of execution? * 1/1

Main()

Start()

Run()

Init()

Which type is used to convert to 8-bit signed integer? * 1/1

Convert.ToInt32

Convert.ToByte

Convert.ToSByte

Convert.ToUInt32

https://docs.google.com/forms/d/e/1FAIpQLSdvgk27RxGX4Z7DN9RfdqTSuTPi5DkC-obRXTErPhjQ5vBEoQ/viewscore?viewscore=AE0zAgDA9zuB… 4/16
5/9/25, 7:29 AM Questions

What is the scope of a variable declared inside a method? * 1/1

Global

Protected

Private

Local

Which symbol is used for single-line comments in C#? * 1/1

//

/*

<!--

What keyword is used to terminate a loop prematurely? * 1/1

continue

stop

break

exit

https://docs.google.com/forms/d/e/1FAIpQLSdvgk27RxGX4Z7DN9RfdqTSuTPi5DkC-obRXTErPhjQ5vBEoQ/viewscore?viewscore=AE0zAgDA9zuB… 5/16
5/9/25, 7:29 AM Questions

What is polymorphism in C#? * 0/1

Creating multiple classes

Changing method behavior at runtime

Protecting data

Connecting to databases

Correct answer

Changing method behavior at runtime

What causes method overriding? * 1/1

Static methods

Virtual and override keywords

Private access

Sealed classes

What is the purpose of the 'virtual' keyword? * 1/1

Declare constant

Allow override

Mark as sealed

Hide method

https://docs.google.com/forms/d/e/1FAIpQLSdvgk27RxGX4Z7DN9RfdqTSuTPi5DkC-obRXTErPhjQ5vBEoQ/viewscore?viewscore=AE0zAgDA9zuB… 6/16
5/9/25, 7:29 AM Questions

What happens when 'new' keyword is used in method definition? * 1/1

Inherits method

Hides base method

Throws error

Overrides base method

What is encapsulation? * 1/1

Using interfaces

Method hiding

Restricting direct access to fields

Using loops

When must an abstract class be used? * 1/1

To define only static members

To prevent inheritance

To provide base with incomplete methods

To avoid polymorphism

https://docs.google.com/forms/d/e/1FAIpQLSdvgk27RxGX4Z7DN9RfdqTSuTPi5DkC-obRXTErPhjQ5vBEoQ/viewscore?viewscore=AE0zAgDA9zuB… 7/16
5/9/25, 7:29 AM Questions

Interface members are by default: * 1/1

Private

Internal

Protected

Public

Can a base class be sealed? * 1/1

Yes

No

Only in static classes

Only if abstract

What happens when methods have same name but different parameters? * 1/1

Error

Overriding

Overloading

Inheritance

https://docs.google.com/forms/d/e/1FAIpQLSdvgk27RxGX4Z7DN9RfdqTSuTPi5DkC-obRXTErPhjQ5vBEoQ/viewscore?viewscore=AE0zAgDA9zuB… 8/16
5/9/25, 7:29 AM Questions

Which class type cannot be instantiated directly? * 1/1

Static class

Public class

Concrete class

Partial class

Which is NOT an integer type in C#? * 1/1

int

float

byte

long

What is a multidimensional array also called? * 1/1

Jagged array

Flat array

Matrix

Packed array

https://docs.google.com/forms/d/e/1FAIpQLSdvgk27RxGX4Z7DN9RfdqTSuTPi5DkC-obRXTErPhjQ5vBEoQ/viewscore?viewscore=AE0zAgDA9zuB… 9/16
5/9/25, 7:29 AM Questions

Are arrays in C# reference or value types? * 0/1

Reference

Value

Static

Abstract

Correct answer

Reference

Which keyword keeps a variable's value across function calls? * 1/1

const

static

readonly

var

Which variables are visible only in the class they are declared in? * 1/1

Public

Protected

Private

Static

https://docs.google.com/forms/d/e/1FAIpQLSdvgk27RxGX4Z7DN9RfdqTSuTPi5DkC-obRXTErPhjQ5vBEoQ/viewscore?viewscore=AE0zAgDA9zuB… 10/16
5/9/25, 7:29 AM Questions

What will be the output of the following C# code snippet? * 1/1

No output

Running printed once

Running printed infinite times

Code will give an error

Match the following conversion methods in C# with their correct output *1/1
types, and choose the correct option showing the correct order:

1→B, 2→C, 3→A, 4→D

1→D, 2→A, 3→C, 4→B

1→A, 2→D, 3→B, 4→C

1→C, 2→B, 3→D, 4→A

https://docs.google.com/forms/d/e/1FAIpQLSdvgk27RxGX4Z7DN9RfdqTSuTPi5DkC-obRXTErPhjQ5vBEoQ/viewscore?viewscore=AE0zAgDA9zuB… 11/16
5/9/25, 7:29 AM Questions

.NET MAUI supports which platforms? * 1/1

Windows

iOS

Android

All of the above

Which file does a .NET Core app execute from by default? * 1/1

index.cs

program.cs

main.cs

app.xaml

What does MAUI stand for? * 1/1

Multi Application User Interface

Multi-platform App UI

Microsoft App Utility Interface

Mobile App UI

https://docs.google.com/forms/d/e/1FAIpQLSdvgk27RxGX4Z7DN9RfdqTSuTPi5DkC-obRXTErPhjQ5vBEoQ/viewscore?viewscore=AE0zAgDA9zuB… 12/16
5/9/25, 7:29 AM Questions

Which platform is NOT supported by MAUI? * 1/1

Linux

Android

Windows

iOS

Which of these is a reserved keyword in C#? * 1/1

data

form

class

stringy

Which of the following best describes a const variable in C#? * 1/1

Its value can be assigned only once during runtime.

Its value is determined at compile time and cannot change.

It stores object references that can be reassigned.

It holds a value that can be changed during program execution.

https://docs.google.com/forms/d/e/1FAIpQLSdvgk27RxGX4Z7DN9RfdqTSuTPi5DkC-obRXTErPhjQ5vBEoQ/viewscore?viewscore=AE0zAgDA9zuB… 13/16
5/9/25, 7:29 AM Questions

What does SSMS stand for? * 1/1

Simple SQL Management Studio

SQL Server Management Studio

System Server Management Services

Secure SQL Model Studio

Which SQL statement is used to modify a table structure? * 1/1

MODIFY

ALTER

CHANGE

UPDATE

Which SQL statement deletes data but not the table? * 1/1

REMOVE

DROP

TRUNCATE

DELETE

https://docs.google.com/forms/d/e/1FAIpQLSdvgk27RxGX4Z7DN9RfdqTSuTPi5DkC-obRXTErPhjQ5vBEoQ/viewscore?viewscore=AE0zAgDA9zuB… 14/16
5/9/25, 7:29 AM Questions

What is the command to delete a database entirely? * 1/1

DROP DATABASE

DELETE DB

REMOVE DATABASE

TRUNCATE DB

What type of command is CREATE in SQL? * 1/1

DML

DCL

DDL

TCL

What are tasks handled by the Garbage Collector? (Choose 2) * 1/1

Freeing heap memory of unused objects

Managing memory allocation for static variables

Preventing memory leaks by removing unused references

Closing SQL connections when done

This form was created inside of Informatics College Pokhara.


Does this form look suspicious? Report

Forms

https://docs.google.com/forms/d/e/1FAIpQLSdvgk27RxGX4Z7DN9RfdqTSuTPi5DkC-obRXTErPhjQ5vBEoQ/viewscore?viewscore=AE0zAgDA9zuB… 15/16
5/9/25, 7:29 AM Questions

https://docs.google.com/forms/d/e/1FAIpQLSdvgk27RxGX4Z7DN9RfdqTSuTPi5DkC-obRXTErPhjQ5vBEoQ/viewscore?viewscore=AE0zAgDA9zuB… 16/16

You might also like