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: | 337 Weeks Ago, 4 Days 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