Angular & Sql Flashcards

(40 cards)

1
Q

Variables defined with let are?

A

Block-scoped

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

Which command is used to perform unit tests in Angular?

A

ng test

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

What’s the role of a controller in MVC?

A

It controls interactions between Model and View

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

What do we call Angular pipes that return the same output for same input?

A

Pure pipes

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

Directive used instead of href in Angular 2 routing?

A

routerLink

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

Directive that displays views for a route?

A

routerOutlet

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

What contains route info for a component in an outlet?

A

ActivatedRoute

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

What allows values to be passed in URLs to components?

A

Route parameters

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

Default tooltip position?

A

Bottom

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

Azure SQL is best for apps that need…?

A

Elastic scale

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

Clause to rename a column in output?

A

AS

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

What does [] wildcard do?

A

Matches single character in specified range

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

Aggregate functions ignore NULLs except with…?

A

COUNT(*)

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

Keyword to create view using multiple tables?

A

JOIN

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

What’s it called when one procedure calls another?

A

Nested Procedure

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

Smallest unit of data storage?

A

Data Page

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

What is each page in a B-tree index called?

18
Q

Trigger type that runs on CREATE, ALTER, DROP?

19
Q

Which trigger uses Inserted and Deleted tables on update?

A

UPDATE Trigger

20
Q

What is used for conditional logic in Transact-SQL?

A

Control-of-flow statements

21
Q

Which data types can’t be used in SELECT list subqueries?

A

ntext, text, image

22
Q

Function to convert JSON to rows and columns?

A

OPENJSON rowset

23
Q

Advantages of Stretch Database?

A

Historical data migration, cost-effective storage

24
Q

What is Polybase used for?

A

Combining relational and non-relational data

25
Control node tasks in Polybase?
Parse, manage parallel queries, bring data temporarily
26
Keyword to bind view to a schema?
`SCHEMABINDING`
27
Why use Columnstore indexes?
Better performance
28
Azure SQL family includes?
SQL Server on VMs, Managed Instance, Azure SQL DB, SQL Edge
29
Component that defines how types are used in runtime?
Common Type System (CTS)
30
`valueOne = valueOne / 5` when valueOne is int and value is <5?
0
31
What does bitwise `|` operator do?
Puts ON a bit
32
NOT a valid assignment operator?
`\=`
33
VS 2019 feature with code suggestions & tips?
IntelliSense
34
WCF matches with?
Service-oriented messaging framework
35
LINQ matches with?
Data querying for .NET
36
WPF matches with?
UI based on XML & vector graphics
37
Which should be used for every line to have a new line character in the program.
/n
38
Which function is used to see the existence of an entry in a map.
map.has()
39
Which keyword is used to access class's member variables and functions inside class member function
this
40
To use [(ng-Model)] one has to import which module?
@FormsModule