티스토리 뷰

AU Study/TAFE Assessment

C sharp questionnaire

Last72 2017. 11. 28. 14:15

1. A variable which is declared inside a method is called a Local variable

2. Which of the following characters ends every C# statement? Semicolon ;

3. One feature of a local variable is, It must be declared within a method

4. Is it possible to change the code of a method while debugging a C# application? No

5. Which of the following is an incorrect/invalid variable name? 1st_name

6. In C#, what construct can be used to replace multiple “if” statements? The switch case statement

7. Which of the following is not a type of array in C#? Jazzed arrays

8. Which of these statements correctly declares a single-dimensional array in C#? int[] myArray;

9. Which one of the following statements is correct? A linear search does not require the list/data to be sorted.

10. Which of the following is the correct way to increment the value of the variable “a” by 2? a = a +2;

11. Which of the following is NOT a Relational operator in C#? <>=

12. Which of the following is NOT an Arithmetic operator in C#? **

13. Which of the following converts a type to a 32-bit integer in C#? Int32.TryParse()

14. Which of these is a valid path declaration? string strPath="c:\\abc.txt";

15. Which of the following statements is true for a Stack data structure? An item in the middle of a Stack data structure is accessed by popping the values on top

16. Which of the following converts a data type to a string in C#? ToString()

17. Can we use reserved keywords as identifiers in C#? No

18. Which of the following is not a Logical operator in C#? %

19. Which keyword is used for including the namespaces in the program in C#? using

20. Which of the following is NOT an Assignment operator in C#? ==




HACKED MY RENZON LOLOL

'AU Study > TAFE Assessment' 카테고리의 다른 글

CBYTES project - 1  (0) 2018.05.22
Network scenario 3 storey  (0) 2017.11.28
Router configuration Using Putty  (0) 2017.11.15
Driving website project  (0) 2017.10.28
c sharp programing at 2 teardown  (0) 2017.10.28
댓글
Announcement
Recent Posts
Recent Comments
Total
Today
Yesterday
Link
TAG
more
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Search by month