Chp 2_ Data Processing AI V2 Flashcards

(87 cards)

1
Q

What is the information systems process?

A

Input, process, output

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

What distinguishes data types?

A

Kinds of data variables hold

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

Syntax to declare a variable?

A

DataType VariableName;

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

Variable naming rule first character?

A

Letter or underscore

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

How to read inputs and format outputs?

A

Use TextBox.Text and ToString()

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

What converts data types when reading?

A

Parse and cast operators

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

Use arithmetic operators for?

A

Perform calculations

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

Role of Variables?

A

Memory storage locations

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

Role of Data Types?

A

Define variable data kind

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

Operators perform?

A

Arithmetic and logical operations

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

Strings?

A

Sequences of characters

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

String concatenation operator?

A

+

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

Math Functions class?

A

System.Math methods

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

Why process data?

A

Crucial for applications

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

What will this topic explore?

A

Data types, storage, processing

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

What is input?

A

Data entry via devices

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

What is process?

A

CPU operations on data

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

What is output?

A

Processed data displayed

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

TextBox control?

A

Rectangular keyboard input area

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

TextBox location?

A

Common Controls toolbox

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

Add TextBox to form?

A

Double-click control

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

Default TextBox name?

A

textBoxn

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

What stores TextBox input?

A

TextBox.Text string

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

How to clear TextBox?

A

Assign “” to Text

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Definition of variable?
Memory storage location
26
Variable name represents?
Memory location
27
Declare variable syntax?
DataType VariableName;
28
Why declare data type?
Defines data held
29
Primitive types are?
Fundamental types like int
30
Numeric types examples?
int, float, double
31
String example?
"John"
32
Char example?
'A'
33
Bool example?
true/false
34
Naming first char?
Letter or underscore
35
Can contain spaces?
No
36
Use of keywords?
Avoid reserved words
37
Value assignment syntax?
name = "text";
38
Display in Label?
label.Text = var
39
Show in MessageBox?
MessageBox.Show(var)
40
Concatenation operator?
+
41
Purpose of concatenation?
Join strings
42
Can declare before use?
Yes, then assign later
43
Local variable scope?
Inside its method
44
Lifetime of variable?
During program execution
45
Assign compatible value?
Value type must match
46
Initialize on declaration?
Optional but allowed
47
Multiple declarations?
Same type comma-separated
48
int range?
-2^31 to 2^31-1
49
double stores?
Real numbers
50
decimal precision?
128-bit monetary type
51
Suffix for decimals?
m or M
52
Cast syntax?
(Type)variable
53
Use case?
Convert between types
54
Addition operator?
+
55
Modulus operator?
%
56
Order of operations?
Follow PEMDAS
57
Mixed types result?
Widest type
58
7/3 yields?
2
59
To get fraction?
Cast operands to double
60
Parse string to int?
int.Parse()
61
Parse string to double?
double.Parse()
62
Convert number to string?
var.ToString()
63
Implicit conversion?
Using + operator
64
Currency format specifier?
C
65
Percentage specifier?
P
66
Try-catch structure?
try{ } catch{ }
67
Unhandled exception effect?
Program halts
68
Use ex.Message for?
Default error message
69
To throw exception?
Invalid data input
70
Declare constant?
const Type NAME = value
71
Naming constant style?
Uppercase by convention
72
Field scope?
Entire class
73
Declare field?
Outside methods in class
74
Math.Sqrt(x)?
Square root of x
75
Math.PI constant?
π value
76
Assign mnemonic?
Ampersand before letter
77
Access key use?
Alt + letter
78
BackColor property?
Control background color
79
ForeColor property?
Text color of control
80
BackgroundImage property?
Form background image
81
BackgroundImageLayout options?
Tile, Center, None, Stretch, Zoom
82
GroupBox features?
Title and border
83
Panel features?
No title, customizable border
84
Meaning of identifier?
Name for variable or control
85
Terminology for joining strings?
Concatenation
86
List main topics covered?
Input, types, naming, ops, math, UI
87
Next topic?
Selection structures