Final Quest Flashcards

(71 cards)

1
Q

Deployment is the process of installing applications to the target systems.

A

T

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

The application list describes the application and the permissions required by the application.

A

F

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a restriction accompanying ClickOnce deployment?

A

It cannot be used if you need to install shared components in the global assembly cache.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is deployment?

A

The process of installing applications to the target system.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

When using ClickOne, where is the application installed?

A

To the client.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

ASP.NET is a technology for dynamically creating web pages with server-side code.

A

T

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

On the server system, ASP.Net runtime is NOT needed.

A

F

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are two of the Page properties?

A

Request and Response.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is ASP.NET?

A

A technology for dynamically creating web pages with server-side code.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What using ASP.NET in what form is code returned to the client?

A

HTML

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

You can use Internet Explorer, Opera, Chrome, Firefox, Safari, or any other web browser that supports HTML when using ASP.NET.

A

T

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

A stream is an abstract representation of what?

A

a serial device.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

A stream is an abstract representation of a serial device. A serial device is something is something that stores and/or accesses data in a linear manner.

A

T

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

System.IO contains the classes for reading and writing data to and from files.

A

T

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What types of streams are used when data is written to some external destination, which can be a physical disk file, a network location, a printer, or another program?

A

output

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

The File and Directory utility classes expose many static methods for manipulating, surprisingly enough, files and directories.

A

T

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What do the File and Directory utility classes expose?

A

Many static mehtods for manipulating files and directories.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

Which stream class achieves compression using the Deflate algorithm?

A

DeflateStream

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

List three static methods of the file class.

A

Copy(), Create(), Delete()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

The CreateDirectyory() method deletes a specified directory and all files within it.

A

F

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

What does the FileInfor object represent?

A

A file on a disk or network location.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

If your application is performing several operations on a file, it makes sense to instantiate a FileInfo object and use its methods.

A

T

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

It makes more sense to instantiate a FileInfo to use methods on the static File class if you are making only a single method call.

A

F

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

The DirectoryInfo class inherits most of its properties from FileSystemInfo.

A

T

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
The DirectoryInfo class works exactly like the FileSystemInfo class.
T
26
What class does the Directory Info class work like?
FileInfo class.
27
What class works exactly like the FileInfo class?
DirectoryInfo
28
Relative path names are relative to a starting location.
T
29
The FileStream object represents a stream pointing to a file on a disk or network path.
T
30
What does a FileStream object represent?
A stream pointing to a file on a disk or a network path.
31
What is an absolute path name?
A path name explicitly specifies a file or directory from a known location.
32
What kind of path name explicitly specifies a file or directory from a known location - such as the C: drive?
Absolute.
33
What object represents a stream pointing to a file on a disk or a network path?
FileStream
34
The FileStream class maintains an internal file pointer that points to the location within the file where the next read or write operation will occur.
T
35
The following code opens the Data.txt file for read and write access: FileStream aFile=File.OpenRead("Data.txt")
F
36
The FileStream class deals exclusively with what kind of bytes?
raw
37
What method is the primary means to access data from a file that a FileStream object points to.
FileStream.Read()
38
Unlike creating a FileStream object, creating a StreamWriter provides you with a similar range of options.
F
39
When creating a StreamWriter object, you do not have an option to set the FileAccess property, so you will always have read/write privileges to the file.
T
40
ReadTEndFile() is a useful method for reading entire files so long as they are relatively small.
T
41
Which is the simplest reading methods?
Read()
42
Multiple files placed in a single folder for compression is often called a root folder.
F (archive)
43
One of the main reasons for asynchronous file access is to allow other operations during operations using very large files.
T
44
What is one of the compression stream classes in the System.IO.Compression namespace?
DeflateStream
45
The System.Runtime.Serialization.Formatters.Binary namespace contains the BinaryFormatter class which is capable of serializing objects into binary data.
T
46
Which serialized object method work with streams?
object Deserialize(Stream stream)
47
The NonSerializable attribute ensures data is not saved when other data is serialized.
T
48
What is one reason you might not want to serialize an object?
Some objects might contain sensitive data.
49
The class that helps you filter files is called FileSystemWatcher.
T
50
When using streams it is difficult to intercept the data as it is saved to disk or loaded.
F
51
Which three properties must be set before a FileSystemWatcher object can be enabled?
Path, NotifyFilter, Filter
52
A complete set of data in XML is known as what?
An XML document.
53
A complete set of data in XML is known as an XML document.
T
54
Programs that read XML documents and analyze them by examining their individual elements are known as what?
XML Parsers
55
What are the elements of XML?
Openeing tag, data, closing tag.
56
Attributes are added within the closing tag of an element.
F
57
How must a value of an attribute in XML be enclosed?
A single or double quotes.
58
There's one exception to the rule that all elements must have a closing element.
T
59
When using XML, a single element can never be used.
F
60
A LINQ query starts by declaring a variable to hold the results of the query, which is usually done by declaring a variable with what keyword?
var
61
How does a LINQ query start?
Declaring a variable to hold the results of the query.
62
When using LINQ, every query begins with locating the data using the where clause.
F
63
Once you have locatedsome data of interest with a where clause (or Where() method invocation), LINQ makes it easy to perform further processing.
T
64
The System.Linq namespace is reference automatically by VS 2012
T
65
Which clause is commonly used in LINQ to order data?
orderby
66
often, a query returns more results than you might expect.
T
67
When using LINQ, what clause is normally used to locate data?
??
68
LINQ provides a set of aggregate operators that enable you to analyze the results of a query without having to loop through them all.
T
69
List at least 3 aggregate operators for numeric results.
Count(), Min(), Max()
70
The Count() aggregate operator is used to give the maximum value in results.
F
71
What is Aggreagea() used for?
Executing arbitrary code in a manner that enables you to code your own aggregate function.