tests ql

Download Tests Ql

If you can't read please download the document

Upload: amaturrahman

Post on 19-Feb-2016

3 views

Category:

Documents


0 download

DESCRIPTION

Test

TRANSCRIPT

///PROCEDURESqlDataSource1.UpdateCommandType = SqlDataSourceCommandType.StoredProcedure;SqlDataSource1.UpdateCommand = "UPDATE_STATUS";SqlDataSource1.Update();///NEW INSERTINSERT INTO [dbo].[Recruiter] ([Username], [Password], [FirstName], [LastName], [MemberSince], [NumProjects], [Email], [CountryId], [AccountNumber], [SecurityNumber]) VALUES (N'dave', N'1', N'Dave', N'Stevens', N'2015-10-04 00:00:00', 5, N'[email protected]', N'USA', N'1234', N'1234')INSERT INTO [dbo].[Recruiter] ([Username], [Password], [FirstName], [LastName], [MemberSince], [NumProjects], [Email], [CountryId], [AccountNumber], [SecurityNumber]) VALUES (N'ben', N'1', N'Benjamin', N'Ansel', N'2015-11-02 00:00:00', 3, N'[email protected]', N'AUS', N'12345', N'12345')INSERT INTO [dbo].[Project] ([Id], [Title], [Status], [BidStartDate], [BidDeadline], [BidStatus], [MinRating], [RecruiterId], [MinimumExperience], [Description], [ImagePath]) VALUES (119, N'ASP.NET MVC 5 DEMO', N'UNDER BIDDING', N'2015-11-14 13:46:44', N'2015-12-14 13:46:44', N'ONGOING', 1, N'dave', NULL, N'I''m looking for developers that i will hire for some works on Microsoft .NET technologies. As test I want a small project built with [url removed, login to view] MVC 5 with Entity Framework. The project must have a db on SQL Server with 2 tables (master, detail), a core project for the entity model , the MVC application must have model, controllers and views to insert orders and some details. Very simple project to do in 1/2 hours, design (use default layout), number of fields (just a few for master and a few for details) are not importants I only want to evalute the quality of programming this project. Also attach a summary of your skills and some project to evaluate as portfolio. Thanks ', NULL)INSERT INTO [dbo].[Project] ([Id], [Title], [Status], [BidStartDate], [BidDeadline], [BidStatus], [MinRating], [RecruiterId], [MinimumExperience], [Description], [ImagePath]) VALUES (120, N'Write some Software ', N'UNDER BIDDING', N'2015-11-14 13:55:49', N'2015-12-14 13:46:44', N'ONGOING', 1, N'dave', NULL, N'I would like to get done about one task of my project. Repairing corrupted or fragmented mp4 videos, the language to do this project C#.', NULL)INSERT INTO [dbo].[QuestionBank] ([Id], [SkillID], [Ques], [Op1], [Op2], [Op3], [Op4], [Ans]) VALUES (109, 101, N'Which of the following statement will be correct if the function has three arguments passed to it?', N'The trailing argument will be the default argument.', N'The first argument will be the default argument.', N'The middle argument will be the default argument.', N' All the argument will be the default argument.', 1)INSERT INTO [dbo].[QuestionBank] ([Id], [SkillID], [Ques], [Op1], [Op2], [Op3], [Op4], [Ans]) VALUES (112, 100, N'If s1 and s2 are references to two strings, then which of the following is the correct way to compare the two references?', N's1 is s2', N's1 = s2', N' strcmp(s1, s2)', N's1.Equals(s2)', 4)INSERT INTO [dbo].[QuestionBank] ([Id], [SkillID], [Ques], [Op1], [Op2], [Op3], [Op4], [Ans]) VALUES (113, 100, N'Which of the following statements is correct?', N'A constructor can be used to set default values and limit instantiation.', N'C# provides a copy constructor.', N'Destructors are used with classes as well as structures.', N'A class can have more than one destructor.', 1)INSERT INTO [dbo].[QuestionBank] ([Id], [SkillID], [Ques], [Op1], [Op2], [Op3], [Op4], [Ans]) VALUES (115, 100, N'Which of the following is NOT a .NET Exception class?', N'StackMemoryException', N'DivideByZeroException', N'OutOfMemoryException', N'InvalidOperationException', 1)INSERT INTO [dbo].[QuestionBank] ([Id], [SkillID], [Ques], [Op1], [Op2], [Op3], [Op4], [Ans]) VALUES (116, 100, N'Which of the following statements is correct about classes and objects in C#.NET?', N'Class is a value type.', N'Objects of smaller size are created on the heap.', N'Smaller objects that get created on the stack can be given names.', N' Objects are always nameless.', 4)INSERT INTO [dbo].[QuestionBank] ([Id], [SkillID], [Ques], [Op1], [Op2], [Op3], [Op4], [Ans]) VALUES (118, 103, N'Which of the following is used to cache multiple responses for a single web form based on HTTP POST parameter or query string?', N'VaryByParams', N'VaryByHeaders', N'SetCacheability', N'SetVaryByCustom', 1)INSERT INTO [dbo].[QuestionBank] ([Id], [SkillID], [Ques], [Op1], [Op2], [Op3], [Op4], [Ans]) VALUES (120, 103, N'ASP.NET doesnt run by itself, it runs inside the process of IIS', N'True', N'False', N'Irrelevant', N'Can be both', 1)INSERT INTO [dbo].[QuestionBank] ([Id], [SkillID], [Ques], [Op1], [Op2], [Op3], [Op4], [Ans]) VALUES (121, 103, N'From performance point of view which is the fastest?', N'DataList', N'DataGrid', N'Repeater', N'ListView', 3)INSERT INTO [dbo].[QuestionBank] ([Id], [SkillID], [Ques], [Op1], [Op2], [Op3], [Op4], [Ans]) VALUES (122, 103, N'How can we force all the validation control to run?', N'Page.IsValid()', N'Page.Validate', N'Set EnableClientScript true', N'Set EnableClientScript false', 2)INSERT INTO [dbo].[QuestionBank] ([Id], [SkillID], [Ques], [Op1], [Op2], [Op3], [Op4], [Ans]) VALUES (123, 103, N'Where do we store connection string in ASP.NET?', N'Web.config', N'App.config', N'Global.asax', N'All', 1)INSERT INTO [dbo].[QuestionBank] ([Id], [SkillID], [Ques], [Op1], [Op2], [Op3], [Op4], [Ans]) VALUES (124, 102, N'Which of the methods should be implemented if any class implements the Runnable interface?', N'start()', N'run()', N'wait()', N'notify()', 2)INSERT INTO [dbo].[QuestionBank] ([Id], [SkillID], [Ques], [Op1], [Op2], [Op3], [Op4], [Ans]) VALUES (126, 102, N'Which of the following is not a method of the Thread class.', N'public void run()', N'public void start()', N'public void exit()', N' public final int getPriority()', 3)INSERT INTO [dbo].[QuestionBank] ([Id], [SkillID], [Ques], [Op1], [Op2], [Op3], [Op4], [Ans]) VALUES (127, 102, N'To execute the threads one after another which keyword is used?', N'synchronize', N'synchronized', N'synchronizable', N'None', 2)INSERT INTO [dbo].[QuestionBank] ([Id], [SkillID], [Ques], [Op1], [Op2], [Op3], [Op4], [Ans]) VALUES (129, 102, N'The object of DataInputStream is used to', N'To covert binary stream into character stream', N'To covert character stream into binary stream', N'To write data onto output object', N'All of the above', 1)INSERT INTO [dbo].[QuestionBank] ([Id], [SkillID], [Ques], [Op1], [Op2], [Op3], [Op4], [Ans]) VALUES (130, 102, N'DataInputStream is an example of', N'Output stream', N'I/O stream', N'Filtered stream', N'File stream', 3)INSERT INTO [dbo].[QuestionBank] ([Id], [SkillID], [Ques], [Op1], [Op2], [Op3], [Op4], [Ans]) VALUES (131, 104, N'Next and Last statements are used to', N'Exit conditional blocks', N'Exit functions', N'Exit loops', N'Exit script execution', 3)INSERT INTO [dbo].[QuestionBank] ([Id], [SkillID], [Ques], [Op1], [Op2], [Op3], [Op4], [Ans]) VALUES (134, 105, N'What is true regarding _root and _parent?', N'_root is the super parent for all movieClips.', N'_parent accesses Outer MovieClip ', N'_root is used to access a particular MovieClips parent', N'_parent is the super parent for all movieClips.', 1)INSERT INTO [dbo].[ProjectSkill] ([ProjectId], [SkillId]) VALUES (119, 100)INSERT INTO [dbo].[ProjectSkill] ([ProjectId], [SkillId]) VALUES (119, 103)INSERT INTO [dbo].[ProjectSkill] ([ProjectId], [SkillId]) VALUES (119, 104)INSERT INTO [dbo].[ProjectSkill] ([ProjectId], [SkillId]) VALUES (110, 105)INSERT INTO [dbo].[ProjectSkill] ([ProjectId], [SkillId]) VALUES (101, 102)INSERT INTO [dbo].[ProjectSkill] ([ProjectId], [SkillId]) VALUES (101, 102)INSERT INTO [dbo].[ProjectSkill] ([ProjectId], [SkillId]) VALUES (101, 102)INSERT INTO [dbo].[ProjectSkill] ([ProjectId], [SkillId]) VALUES (101, 102)INSERT INTO [dbo].[ProjectSkill] ([ProjectId], [SkillId]) VALUES (118, 100)INSERT INTO [dbo].[ProjectSkill] ([ProjectId], [SkillId]) VALUES (118, 124)INSERT INTO [dbo].[ProjectSkill] ([ProjectId], [SkillId]) VALUES (118, 137)INSERT INTO [dbo].[ProjectSkill] ([ProjectId], [SkillId]) VALUES (118, 132)INSERT INTO [dbo].[ProjectSkill] ([ProjectId], [SkillId]) VALUES (119, 100)INSERT INTO [dbo].[ProjectSkill] ([ProjectId], [SkillId]) VALUES (119, 103)INSERT INTO [dbo].[ProjectSkill] ([ProjectId], [SkillId]) VALUES (119, 104)INSERT INTO [dbo].[ProjectSkill] ([ProjectId], [SkillId]) VALUES (120, 100)