SIA: Midterm

0.0(0)
studied byStudied by 3 people
0.0(0)
full-widthCall with Kai
GameKnowt Play
New
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/41

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

42 Terms

1
New cards

<?xml version=”1.0”?>

What is a valid XML declaration?

2
New cards

Extensible Markup Langauge

What does XML stand for?

3
New cards

<price-list>

What is a valid XML element name?

4
New cards

<!— comment —>

What symbol is used for XML comments?

5
New cards

<review rating=”5”>

What is an example of an XML attribute?

6
New cards

Elements

Can hold multiple values and hierarchy

7
New cards

XML DTD

Defines structure and rules of XML document

8
New cards

XML Namespace

To avoid element name conflicts

9
New cards

All tags must be closed

Valid XML syntax rule

10
New cards

One

An XML document must contain how many root elements?

11
New cards

Spaces in element names

NOT allowed in XML

12
New cards

XML Prolog

The declaration line <?xml version="1.0"?>

13
New cards

True

Is XML case-sensitive?

14
New cards

XML Comments

They can be placed anywhere

15
New cards

Significant

In XML, whitespace is what?

16
New cards

It uses opening and closing tags

XML is considered more verbose than JSON because

17
New cards

<book><title>Intro</title></book>

Valid XML snippet

18
New cards

Double Quotes

XML attributes and Json strings should always use this.

19
New cards

Root → Child

XML structure flows from what to what?

20
New cards

xlmns:bk=”http://example.com/books”

Valid XML namespace declaration

21
New cards

Once, at the top of the document

XML declaration must appear on where?

22
New cards

Tags

XML is called "self-descriptive" because this one thing is describing data meaning

23
New cards

<123book>

An invalid XML element

24
New cards

DTD

XML documents can be validated against

25
New cards

String, Number, Boolean, Null, Array, Object

Which of the following is a valid JSON data type?

26
New cards

True and False

JSON Boolean values are

27
New cards

Null

JSON valid null response is what?

28
New cards

[ ]

Which brackets are used for JSON arrays?

29
New cards

[1,2,3]

A valid JSON array is

30
New cards

Date

JSON cannot directly handle which data type

31
New cards

JSON.parse

Converting JSON string → Object

32
New cards

JSON.stringify()

Converting Object → JSON string

33
New cards

Functions

JSON does not allow

34
New cards

Comments

JSON does not support

35
New cards

Function as values

JSON cannot contain

36
New cards

JavaScript Object Syntax

JSON is based on which format

37
New cards

Undefined

NOT a valid JSON value

38
New cards

String is invalid JSON

JSON.parse can throw an error if?

39
New cards

Valid JSON Data Types

JSON arrays can contain

40
New cards

{“age”: 25, “married”: false}

Which of the following is correct JSON syntax?

41
New cards

Storing and Exchanging Data

JSON is mainly used for

42
New cards

Language-Independent

JSON can be used with many programming languages and it is considered what?