The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Jul 2017 |
| Last Sign in: | 305 Weeks Ago, 1 Day Ago |
| Questions Answered: | 15833 |
| Tutorials Posted: | 15827 |
MBA,PHD, Juris Doctor
Strayer,Devery,Harvard University
Mar-1995 - Mar-2002
Manager Planning
WalMart
Mar-2001 - Feb-2009
1- A programmer wants to create an array that will hold 10 strings. Which of the following lines is the correct way of doing so?
Â
   A. String a = new string[9][];
   B. String[] a = new string[10];
   C. String[] a = new string[9];
   D. String a = new string[10][];
Â
2- Arrays may have __________ dimensions.
Â
   A. one
   B. two
   C. more than two
   D. All of the above
Â
3- To receive arguments of varying length for a method, the programmer can use the __________ keyword in the method declaration.
Â
   A. params
   B. args
   C. string
   D. array
Â
4- An array stores a number of items. Each individual variable in the group is referred to as a(n):
Â
   A. element.
   B. index.
   C. length.
   D. initial value.
Â
5- Using LINQ against data stored in arrays such as a list is called:
Â
   A. LINQ to SQL.
   B. LINQ to XML.
   C. LINQ to Objects.
   D. LINQ to Lists.
Â
6- When writing a LINQ query, the compiler can infer the query's data type by using the __________ keyword to declare a variable.
Â
   A. var
   B. from
   C. select
   D. orderby
----------- Â ----------- H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly