Score:
0
%
Correct:
0
Wrong:
0
Total Questions:
16
1
.
Which of the following is wrong?
1
.
-- ftd.text: Hello
color: red
Lang:
ftd
2
.
-- ftd.text:
text: Hello
color: red
Lang:
ftd
3
.
-- ftd.text:
value: Hello
color: red
Lang:
ftd
4
.
-- ftd.text:
color: red

Hello
Lang:
ftd
Submit
2
.
How to create a record person where
  • employee-id of type integer is taken in caption
  • name of type string
  • bio of type string is taken in body and is optional?
1
.
-- record person:
caption integer employee-id:
string name:
body bio:
Lang:
ftd
2
.
-- record person:
caption integer employee-id:
string name:
optional body bio:
Lang:
ftd
3
.
-- record person:
integer caption employee-id:
string name:
optional body bio:
Lang:
ftd
4
.
-- record person:
employee-id: integer caption
name: string
bio: optional body
Lang:
ftd
Submit
3
.
Which is/are INVALID options for defining record variable d of type random-data?
-- string s1: abc

-- record random-data:
caption title:
body description:
optional string sub-title:
Lang:
ftd
1
.
-- random-data d: Title
sub-title: This is some text

This is some more text
Lang:
ftd
2
.
-- random-data d: $s1
title: This is some text

This is some more text
Lang:
ftd
3
.
-- random-data d:
title: This is some text

This is some more text
Lang:
ftd
4
.
-- random-data d: 1
sub-title: Numbers
description: This is number 1
Lang:
ftd
Submit
4
.
Where do we store the package name?
1
.
fastn.ftd
2
.
index.ftd
3
.
config.ftd
4
.
FASTN.ftd
5
.
package.ftd
Submit
5
.
Which of them are called container components?
1
.
ftd.text
2
.
ftd.row
3
.
component
4
.
ftd.kernel
Submit
6
.
Which ftd file is rendered on the / URL path?
1
.
index.ftd
2
.
FASTN.ftd
3
.
home.ftd
4
.
fastn.ftd
Submit
7
.
Which of them CANNOT be accessed using assets?
1
.
image
2
.
iframe
3
.
foo.ftd
4
.
fonts
Submit
8
.
What happens when user clicks on Click me cta?
-- integer $value: 50

-- ftd.text: Click me
$on-click$: $ftd.increment-by($a = $value, v = 10)
width.fixed.px: *$value

-- ftd.integer: $value

-- ftd.integer: *$value
Lang:
ftd
1
.
  • Component ftd.text’s width will change to 60.
  • First component ftd.integer’s value will change to 60.
  • Second component ftd.integer’s value will change to 60.
2
.
  • Component ftd.text’s width will not change.
  • First component ftd.integer’s value will change to 60.
  • Second component ftd.integer’s value will not change.
3
.
  • Component ftd.text’s width will change to 60.
  • First component ftd.integer’s value will not change.
  • Second component ftd.integer’s value will change to 60.
4
.
Nothing will happen.
5
.
Code will throw syntax error.
Submit
9
.
Which of the following is/are NOT a primitive type?
1
.
caption
2
.
decimal
3
.
ftd.ui
4
.
ftd.align-self
5
.
caption or body
6
.
ftd.color
Submit
10
.
Which of the lines in this code-snippet is/are INCORRECT?
-- component foo:  ;; Line 1
caption name: ;; Line 2
private boolean mouse-hovered: false  ;; Line 3

-- ftd.integer: $foo.name   ;; Line 4
color: red  ;; Line 5
color if { foo.mouse-hovered }: #12ff46ad  ;; Line 6
$on-mouse-enter$: $ftd.set-bool($a = $foo.mouse-hovered, v = true)  ;; Line 7
$on-mouse-leave$: $ftd.set-bool($a = $foo.mouse-hovered, v = False)   ;; Line 8

-- end: foo   ;; Line 9

-- foo: xyz  ;; Line 10
$mouse-hovered: false   ;; Line 11


-- foo:   ;; Line 12
name: 123  ;; Line 13
Lang:
ftd
1
.
Line 1
2
.
Line 3
3
.
Line 4
4
.
Line 6
5
.
Line 8
6
.
Line 10
7
.
Line 11
8
.
Line 13
Submit
11
.
Which is/are the VALID list of person type
-- record person:
caption name:
optional body bio:
Lang:
ftd
1
.
-- person list people:

-- person: John
bio: I am John

-- person: Mary

I am Mary

-- end: people
Lang:
ftd
2
.
-- person list people:

-- person: John
bio: I am John

-- person: Mary

I am Mary
Lang:
ftd
3
.
-- list person people:

-- person: John
bio: I am John

-- person: Mary

I am Mary

-- end: people
Lang:
ftd
4
.
-- person list people:

-- person: John
bio: I am John

-- person: Mary

I am Mary

-- end: person list people
Lang:
ftd
Submit
12
.
Which of the following option is correct?
-- ftd.row:
color: black

-- ftd.text: abc

-- ftd.column:
color: red

-- ftd.text: xyz
color: $inherited.colors

-- end: ftd.column

-- end: ftd.row
Lang:
ftd
1
.
abc and xyz will have black color
2
.
abc and xyz will have black and red color respectively
3
.
abc and xyz will have red and black color respectively
4
.
It will throw syntax error
Submit
13
.
Which of the following has/have both light mode and dark mode values?
1
.
ftd.color
2
.
ftd.image-src
3
.
ftd.align
4
.
ftd.length
Submit
14
.
Which of the following is/are responsive type/s?
1
.
ftd.cursor
2
.
ftd.align
3
.
ftd.responsive-type
4
.
ftd.responsive-length
5
.
ftd.color
Submit
15
.
Which of the following is/are CORRECT to add fastn-community.github.io/doc-site as dependency in fastn?
1
.
-- fastn.package: fastn-community.github.io/doc-site as dependency
Lang:
ftd
2
.
-- fastn.dependency: fastn-community.github.io/doc-site
Lang:
ftd
3
.
-- fastn.dependency: fastn-community.github.io/doc-site as ds
Lang:
ftd
4
.
-- fastn.package: fastn-community.github.io/doc-site
Lang:
ftd
Submit
16
.
Which line of code/s is/are WRONG?
--ftd.column:       ;; Line 1

-- ftd.text: Hello  ;; Line 2
-- ftd.text: World  ;; Line 3

-- end: column    ;; Line 4
Lang:
ftd
1
.
Line 1
2
.
Line 2
3
.
Line 4
4
.
None
Submit