KEMBAR78
T.Y.B.Sc.I.T. Sem V Advanced Web Programming | PDF | Class (Computer Programming) | Http Cookie
0% found this document useful (0 votes)
523 views12 pages

T.Y.B.Sc.I.T. Sem V Advanced Web Programming

This document contains a sample question paper for an Advanced Web Programming exam for a 5th semester IT degree. It includes 60 multiple choice questions related to .NET framework concepts like Common Language Runtime, Common Type System, garbage collection as well as ASP.NET concepts like controls, validation, navigation etc. The questions cover topics on classes, inheritance, namespaces, assemblies, data types, operators, controls and more.

Uploaded by

Fouzan Shaikh
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)
523 views12 pages

T.Y.B.Sc.I.T. Sem V Advanced Web Programming

This document contains a sample question paper for an Advanced Web Programming exam for a 5th semester IT degree. It includes 60 multiple choice questions related to .NET framework concepts like Common Language Runtime, Common Type System, garbage collection as well as ASP.NET concepts like controls, validation, navigation etc. The questions cover topics on classes, inheritance, namespaces, assemblies, data types, operators, controls and more.

Uploaded by

Fouzan Shaikh
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/ 12

Sample Question Paper

TYBSc I.T. Sem V


Advanced Web Programming

1. The .Net framework provides multiple language support using the feature known
as_________
a) Common Type System
b) Common Language Runtime
c) Garbage Collector
d) Managed Code

2. The __________ is the common platform that integrates code andomponents from
multiple .Net programming languages.
a) Common Type System
b) Common Language Runtime
c) Garbage Collector
d) Common Language Specification

3. _________ defines a set of rules that enable interoperability on the dotnet platform.
a) Common Language
b) Specification Garbage Collector
c) Common Language Runtime
d) Common Type System

4. During the runtime the Common Language Runtime uses Just In Time compiler,
converts the ___________________ code into native code to the Operating System.
a) Source
b) Microsoft Intermediate Language
c) Program
d) Common code

5. Most of the functionality of the .NET framework classes resides in the namespace
called ________.
a) Data
b) Service
c) System
d) Drawing
6. _____________method is only called under unusual situations as normally garbage
collector runs automatically.
a) GC.Collect
b) GC.Collection
c) GC.Auto
d) GC.Garbage
7. ________ is the execution engine for .Net applications and serve as the interface
between .Net applications and the operating system.
a) Common Language
b) Specification Garbage Collector
c) Common Language Runtime
d) Common Type System
8. _________provides files that contain pre-written code known as classes that are
available to all .NET programming languages.
a) Assembly
b) File system
c) .Net Framework Class Library
d) Common Language System

9. __________Manages the execution of .NET programs by coordinating essential


functions such as memory management, code execution, security etc.
a) Common Language Specification
b) Common Type System
c) Common File System
d) Common Language Runtime

10. ____________ is a component of CLR that ensures that all .NET applications use the
same basic data types no matter what programming languages are used to develop the
applications.
a) Common Type System
b) Common File system
c) Common System Specification
d) Common Langauage Specification

11. What is the full for of IDE?


a) Internet Development Environment
b) Integrated Development Environment
c) Internal Devlopment Environment
d) Integrated Data Environment

12. In Garbage Collection, The objects in ______ are long lived such as static objects as
they remain in the heap memory for the whole process duration.
a) Generation -0
b) Generation - 1
c) Generation - 2
d) Generation-3

13. The .NET Framework is divided into two main components:__________ &_______.
a) Framework Class Library & Common Language Runtime
b) Common Type System & Common Language Runtime
c) Common Language Specification & CommonLanguage Runtime
d) Framework Class Library & Garbage Collection

14. .NET Framework Class library Structure's related classes are organised into groups
called ______
a) Files
b) Namespaces
c) Structure
d) Sub-Classes
15. In .NET Framework, ___________can contain more than one project.
a) Solution Explorer
b) properties Window
c) File Explorer
d) Form Window

16. Which method of an Array creates a duplicate copy


a) Copy()
b) CopyTo()
c) Clone()
d) Sort()

17. ________________ inserts a string a a specified index position.


a) IndexOf()
b) insert()
c) LastIndexOf()
d) put()

18. _________________ is a static property of DateTime Class


a) AddDays()
b) AddMonths()
c) Now
d) ToString()

19. Which of the following does the actual .Net code execute?
a) CLS
b) MSIL
c) CTS
d) CLR

20. Which of the following is not an ASP.NET page event?


a) Init
b) Load
c) Import
d) None of the above

21. Default access for the members of the class is _______.


a) Private
b) Public
c) Protected
d) Default

22. A class ___________ is a special member function of a class that is executed


whenever we create new objects of that class.
a) Variable
b) Constructor
c) Method
d) Function
23. A _________ constructor does not have any parameter inherited
a) parameterised
b) default
c) special
d) default

24. The keyword _________implies that only one instance of the member exists for a
class.
a) private
b) public
c) Protected
d) static

25. We can use __________ to implement multiple inheritance in C# interfaces.


a) inheritances
b) object
c) constructor
d) interfaces

26. When a class is declared _________, it cannot be inherited


a) Private
b) As base
c) sealed
d) as parent

27. The keyword states that the program is using the names in the given namespace.
a) using
b) int
c) float
d) checked

28. Which of the following converts a type to a double type in C#?


a) ToDecimal
b) ToDouble
c) ToInt16
d) ToInt32

29. Which of the following operator returns the address of an variable in C#?
a) sizeof
b) typeof
c) &
d) *

30. Int, char, float are the examples of __________ data types
a) Reference
b) Value
c) Static
d) Virtual
31. Object is an example of ______________ data type.
a) Reference
b) Value
c) Location
d) Address

32. Inner namespaces can be separated using _________


a) _ (underscore)
b) . (Dot)
c) -(hyphen)
d) (Arrow)

33. An ________ is a non-instantiable class which is either partially implemented, or not


at all implemented.
a) Static class
b) Sealed class
c) partial class
d) Abstract class

34. A / An _________ in ASP.NET is a collection of single-file or multiple files.


a) Namespace
b) Library
c) assembly
d) dictionary
e) assembly

35. DLL stands for __________


a) data definition libray
b) Dynamic link library
c) dyigital library link
d) distributed link library

36. _________ describes the assembly.


a) Library
b) Manifest
c) Metadata
d) MSIL

37. Which programming model should you implement if you want to separate your
server-side code from your client-side layout code in a Web page?
a) Single-file model
b) Code-behind model
c) Inline model
d) Client-servermodel
38. ……………………………….are ASP.NET user controls.
a) .aspx
b) .ascx
c) web.config
d) .cs

39. HTML control runs at……………………………..side.


a) client
b) server
c) user
d) browser

40. ASP.Net controls run at ………………………..side.


a) user
b) client
c) web
d) server

41. Every web application starts with a single location, called the………………..
a) root folder
b) main folder
c) header folder
d) middle folder

42. ……………………………….. is the process of adding breakpoints to an application


a) Compiling
b) Debugging
c) Designing
d) Coding

43. ................... directoryContains all the compiled .NET components (DLLs) that the
ASP.NET web application uses
a) App_Themes
b) App_Browsers
c) Bin
d) App_code

44. An error will occur when the code attempts to use the ......................... method.
a) Static.Parse()
b) Decimal.Parse()
c) Double.Parse()
d) Octal.Parse()

45. ASP.NET includes a graphical configuration tool called the...............................


Website
a) Administration
b) Configuration
c) Graphical administration
d) Website administration tool
46. The<appSettings>element is nested in the root.........................element.
a) <configuration>
b) <contains>
c) <settings>
d) <applications>
47. Every ASP.NET application is executed inside a separate ................................
a) user domain.
b) application domain.
c) server domain.
d) system domain.
48. A Web application is a _________ pages in different formats.
a) Document
b) code
c) only A
d) both
49. A web application can be written in
a) C#
b) Visual Basic.Net
c) Jscript
d) All of above
50. A web form model is an extension of ________model of interaction to the web
applications.
a) event-driven
b) browser
c) HTML
d) Server
51. The form is submitted to the server by the ________ which in turn returns a full mark
up page or HTML page in response.
a) event-driven
b) browser
c) HTML
d) Server

52. when the page is rendered in the client browser, the user starts in the ____________.
a) focused control
b) button control
c) List box control
d) Radio button control
53. 2 Items are added in the ______by the Add() method Radio
a) button list
b) List box
c) check box
d) list button
54. Validation is done either at the server side or client side _________.
a) automatically
b) manually
c) Only A
d) both
55. These are complex user interface elements.
a) Calender
b) ADRotator
c) Rich Controls
d) Wizards
56. Its separates different tasks into different code files.
a) Multiple View
b) ADRotator
c) Calender
d) Wizards
57. Navigation control is____________.
a) flexible
b) configurable
c) pluggable
d) All of above
58. ASP.NET tags always begin with the prefix________.
a) input type
b) <a>
c) asp:
d) <div>
59. __________ property displays a text message when the user hovers the mouse above
the
control.
a) ToolTip
b) AccessKey
c) Controls
d) Font ToolTip
60. _________ are used heavily in the .NET class library to group a set of related
constants.
a) Units
b) Enumerations
c) Fonts
d) Colors
61. ___________ control is a server-side equivalent of the <ul> (unordered list) and <ol>
(ordered list) elements.
a) ListBox
b) DropDownList
c) BulletedList
d) CheckBoxList

62. _____________ property indicates whether a list box allows single selection or
multiple
selections.
a) SelectedIndex
b) SelectedValue
c) SelectionMode
d) Items
63. Which of the following Web control provide CheckedChanged event?
a. Button
b. RadioButton
c. TextBox
d. ListBox
64. Which of the following is not a property of BulletedList Control?
a. BulletStyle
b. DisplayMode
c. SelectionMode
d. BulletImageUrl
65. Which of the following validator control ensures that the value of an input control
matches aspecified pattern?
a) CompareValidator
b) CustomValidator
c) RangeValidator
d) RegularExpressionValidator
66. Which of the following is not a member/property for Calendar Style?
a) DayStyle
b) TodayStyle
c) TitleStyle
d) WeekendDayStyle
67. Which of the following determines which day is displayed in the first column of the
calendar?
a) DayNameFormat
b) SelectedDates
c) FirstDayOfWeek
d) TodaysDate
68. Which of the following is not a nevigation control ?
a) TreeView
b) Menu
c) DetailsView
d) SiteMapPath
69. Which of the following control look pretty much the same as ASP.NET web forms.?
a. AdRotator Control
b. MultiView Control
c. Chart Control
d. User Control
70. Which of the following gives the number of catch blocks that can be defined for a
single ton block:
a. one
b. two
c. three
d. The try block can have
71. Which of the following is the Object Oriented way of handling run-time errors?
a. onError
b. Exception
c. Errorcode
d. Heresult
72. In C#.NET, an exception is?
a. Compile time error
b. logical error
c. runtime error
d. syntax error
73. superclass of all types of exceptions classes.
a. DivideByzero
b. Exceptionclass
c. Exception
d. IndexError
74. what are not state management techniques
a. Session
b. application
c. view
d. sessionless
75. Information store in application state is available on
a. same page
b. diferent page
c. every page of website
d. on alternate page
76. which all are Server side state management technique
a. view
b. session
c. cookies
d. QueryString
77. what is inner Exception
a) Exception inside Exception
b) Exception outside Exception
c) method of exception
d) property of Exception
78. ___________ uses a hidden field that ASP.NET automatically inserts in the final,
rendered HTML of a web page.
a. Caption
b. View state
c. Button state
d. Application
79. The ________ is a dictionary collection, which means every item is stored in a
separate “slot” using a unique string
a) StateBag
b) ariable
c) Datatype
d) View
80. ASP.NET uses a _______ to make sure your view-state information can’t be altered
without your knowledge.
a. view code
b. app code
c. password
d. hash code
81. A ________ postback is a technique that extends the postback mechanism.
a. pageing
b. Cookies
c. URL encoding
d. cross-page d
82. The _______ is the portion of the URL after the question mark.
a. string URL
b. encoding
c. query string
d. app string
83. If your view state contains some information you want to keep secret, you can _____
a. viewstate
b. encryption.
c. enable mute
d. view disable
84. ________ are small files that are created in the web browser’s memory or on the
client’s hard drive.
a. Cookies
b. session
c. variable
d. string
85. __________ allows you to store any type of data in memory on the server.
a. Pageing
b. Cookies
c. Session-state
d. StateBag
86. ___________ Provides a string with the unique session identifier for the current client.
a. Application
b. Cookies
c. Sessionit
d. SessionID
87. The event in AJAX triggers
a. VBScript
b. C# Code
c. Javascipt
d. Refresh
88. Triggers collection contains
a. AsyncPostBackTrigger
b. Event Driven
c. Autoclick event
d. UpdatePanel
89. ContentTemplate is a property of
a. Textbox
b. UpdatePanel
c. Ajax Panel
d. Div
90. RenderMode property has values
a. Block and Inline
b. Panel and Refresh
c. Block and Refresh
d. Block and Panel
91. Time in milliseconds that the control has to wait before it displays its content is given
by Visible
a. DisplayAfter
b. EnableViewState
c. DynamicaLayout
d. Dynamic Visible
92. ___ property determines the control automatically saves its state for the use in round
trips.
a. Block and Inline
b. DisplayAfter
c. EnableViewState
d. DynamicaLayout C
93. ____determine whether the progress template is dynamically rendered
a. DynamicVisible
b. Dynamic display
c. Dynamicstate
d. DynamicaLayout
94. You can add new row in DataTable by
a. AddRow()
b. NewRow()
c. Both
d. none of these
95. Which property can be used to configured the numbers and dates using a format
string
a. FormatSting
b. DataFormatingString
c. DataFormate
d. DataFormatSring
96. _________________object can hold more than one rowset from the same data source
and the relationships between them.
a. DataReader Object
b. DataSet Object
c. OleDB connection object
d. Data Adapter
97. Where do we store connection string in ASP. NET?
a. Web.config
b. App.config
c. Global,asax
d. all Web.config
98. Where do we include the user lists for Form authentication?
a. < Identity>
b. <authentication>
c. < credential>
d. < authorization>
99. In ASP.NET the < authorization > section contain which of the following elements?
a. < deny >
b. < allow >
c. Both A. and B
d. < Identity>
100. event is not there for Login control
a. LoggingIn
b. LoggedIn
c. LoginError
d. LoginStatus

You might also like