Final Quest Flashcards

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
Q

The DirectoryInfo class works exactly like the FileSystemInfo class.

A

T

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

What class does the Directory Info class work like?

A

FileInfo class.

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

What class works exactly like the FileInfo class?

A

DirectoryInfo

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

Relative path names are relative to a starting location.

A

T

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

The FileStream object represents a stream pointing to a file on a disk or network path.

A

T

30
Q

What does a FileStream object represent?

A

A stream pointing to a file on a disk or a network path.

31
Q

What is an absolute path name?

A

A path name explicitly specifies a file or directory from a known location.

32
Q

What kind of path name explicitly specifies a file or directory from a known location - such as the C: drive?

A

Absolute.

33
Q

What object represents a stream pointing to a file on a disk or a network path?

A

FileStream

34
Q

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.

A

T

35
Q

The following code opens the Data.txt file for read and write access: FileStream aFile=File.OpenRead(“Data.txt”)

A

F

36
Q

The FileStream class deals exclusively with what kind of bytes?

A

raw

37
Q

What method is the primary means to access data from a file that a FileStream object points to.

A

FileStream.Read()

38
Q

Unlike creating a FileStream object, creating a StreamWriter provides you with a similar range of options.

A

F

39
Q

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.

A

T

40
Q

ReadTEndFile() is a useful method for reading entire files so long as they are relatively small.

A

T

41
Q

Which is the simplest reading methods?

A

Read()

42
Q

Multiple files placed in a single folder for compression is often called a root folder.

A

F (archive)

43
Q

One of the main reasons for asynchronous file access is to allow other operations during operations using very large files.

A

T

44
Q

What is one of the compression stream classes in the System.IO.Compression namespace?

A

DeflateStream

45
Q

The System.Runtime.Serialization.Formatters.Binary namespace contains the BinaryFormatter class which is capable of serializing objects into binary data.

A

T

46
Q

Which serialized object method work with streams?

A

object Deserialize(Stream stream)

47
Q

The NonSerializable attribute ensures data is not saved when other data is serialized.

A

T

48
Q

What is one reason you might not want to serialize an object?

A

Some objects might contain sensitive data.

49
Q

The class that helps you filter files is called FileSystemWatcher.

A

T

50
Q

When using streams it is difficult to intercept the data as it is saved to disk or loaded.

A

F

51
Q

Which three properties must be set before a FileSystemWatcher object can be enabled?

A

Path, NotifyFilter, Filter

52
Q

A complete set of data in XML is known as what?

A

An XML document.

53
Q

A complete set of data in XML is known as an XML document.

A

T

54
Q

Programs that read XML documents and analyze them by examining their individual elements are known as what?

A

XML Parsers

55
Q

What are the elements of XML?

A

Openeing tag, data, closing tag.

56
Q

Attributes are added within the closing tag of an element.

A

F

57
Q

How must a value of an attribute in XML be enclosed?

A

A single or double quotes.

58
Q

There’s one exception to the rule that all elements must have a closing element.

A

T

59
Q

When using XML, a single element can never be used.

A

F

60
Q

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?

A

var

61
Q

How does a LINQ query start?

A

Declaring a variable to hold the results of the query.

62
Q

When using LINQ, every query begins with locating the data using the where clause.

A

F

63
Q

Once you have locatedsome data of interest with a where clause (or Where() method invocation), LINQ makes it easy to perform further processing.

A

T

64
Q

The System.Linq namespace is reference automatically by VS 2012

A

T

65
Q

Which clause is commonly used in LINQ to order data?

A

orderby

66
Q

often, a query returns more results than you might expect.

A

T

67
Q

When using LINQ, what clause is normally used to locate data?

A

??

68
Q

LINQ provides a set of aggregate operators that enable you to analyze the results of a query without having to loop through them all.

A

T

69
Q

List at least 3 aggregate operators for numeric results.

A

Count(), Min(), Max()

70
Q

The Count() aggregate operator is used to give the maximum value in results.

A

F

71
Q

What is Aggreagea() used for?

A

Executing arbitrary code in a manner that enables you to code your own aggregate function.