Question: 1. Only derived class can have shadows keyword
Option A. True
Option B. False
Question: 2. For the same class "Me" and MyBase" are same
Option A. True
Option B. False
Question: 3. If you want to open a file named "a.txt" use
Option A. System.diagnostics.Start("a.txt")
Option B. System.Start("a.txt")
Option C. System.diagnostics.Process.Start("a.txt")
Option D. System.Process.Start("a.txt")
Question: 4. _________ actually updates the values in a DataSet permanently
Option A. OleDataAdapterq1.update(DataSet1,"emp")
Option B. DataSet1.Merge(DataSet1)
Option C. DataSet1.AcceptChanges()
Option D. DataSet1.Update()
Question: 5. /*1. OleDataAdapterq1.update(DataSet1,"emp")
2. OleDataAdapterq1.update(DataSet1,"std")
3. DataSet1.Merge(DataSet1)
4. DataSet1.AcceptChanges()
/* The error is in line
2. OleDataAdapterq1.update(DataSet1,"std")
3. DataSet1.Merge(DataSet1)
4. DataSet1.AcceptChanges()
/* The error is in line
Option A. 2
Option B. 4
Option C. 3
Option D. No Error
Question: 6. Using ADODB multiple tables can be connected at a time
Option A. True
Option B. False
Question: 7. A DataSet can be updated only when the connection is open
Option A. True
Option B. False
Question: 8. To redimension an array with its previous values intact use ___________ keyword
Option A. RedimPreserve
Option B. Preserve
Option C. Redim
Option D. Redim Preserve
Question: 9. _________ and _____________ combines to make a KeyPress event
Option A. KeyUp, KeyDown
Option B. KeyEnter, KeyRelease
Option C. KeyDown, KeyRelease
Option D. KeyEnter, KeyUp
Question: 10. To retrieve the default path of the project use
Option A. Application.Path
Option B. Application.DefaultPath
Option C. Application.StartupPath
Option D. Application.ProjectPath
Question: 11. Application.StartupPath actually points to
Option A. //ProjectName
Option B. //ProjectName/Bin
Option C. //ProjectName/Debug
Option D. //ProjectName/Bin/ProjectName.exe
Question: 12. A form can not call itself
Option A. True
Option B. False
Question: 13. If a form call another form and the caller form is closed through code, then both forms are disposed
Option A. True
Option B. False
Question: 14. When a project is Built it creates a _______ and ________ file under Bin directory
Option A. .exe, .sln
Option B. .exe, .dll
Option C. .dll, .sln
Option D. .exe, .ocx
Question: 15. The EventLog's ________ method is used to write an entry to a log file
Option A. WriteLine
Option B. WriteEntry
Option C. Add
Option D. Append
Question: 16. A form can have only one default button
Option A. True
Option B. False
Question: 17. If a button click event is to be fired when the user press the 'Esc' key, set the buttons name against forms _________ property
Option A. DefaultButton
Option B. AcceptButton
Option C. DialogResult
Option D. CancelButton
Question: 18. If nothing is selected in a combo box, its index value is
Option A. -1
Option B. 0
Option C. 1
Option D. Null
Question: 19. A Windows Service if installed cannot be uninstalled
Option A. True
Option B. False
Question: 20. To uninstall a Windows Service ____________ is use
Option A. Installutil -I
Option B. Installutil -e
Option C. Installutil -u
Option D. Installutil -d
Answer Sheet
1 | A | |
2 | A | |
3 | C | |
4 | C | |
5 | D | |
6 | B | |
7 | B | |
8 | D | |
9 | A | |
10 | C | |
11 | B | |
12 | B | |
13 | A | |
14 | B | |
15 | B | |
16 | A | |
17 | D | |
18 | A | |
19 | B | |
20 | C |
0 comments:
Post a Comment