Basics of Typescript

Welcome to your Basics of Typescript quiz.

Name
Email
What is the difference between let and const keywords in TypeScript?

Which statement is NOT true about TypeScript and JavaScript?

What is the keyword to extend an existing class in Typescript?

What is the primary benefit of using TypeScript over JavaScript?

How can you create an array of numbers in TypeScript?

How can you define a function that takes two numbers as arguments and returns their sum?

Which of the following is a valid way to declare a variable with a string type in TypeScript?

What is the purpose of an interface in TypeScript?

What does the any type in TypeScript signify?

What is the syntax for defining a class in TypeScript?

This Post Has 17 Comments

  1. Maaz Husyan

    I don’t know that what should I write !!!!

  2. Maaz Husyan

    I don’t know that what should I write !!!! Allah Allah Allah

  3. samina anjum

    thanks

  4. Moiz Qureshi

    ……

    1. samiya khurrum

      ALHUMDULLIAH igot 7points

      1. Rukhsana Shaheen

        thanks

  5. Nida Khan

    very useful

  6. Hanzala

    Scored 10 out of 8 not that bad for a beginner

  7. Huzaifa

    I scored 10 out 0f 10

  8. Farwa

    Great effort for annual quiz preparation!

  9. samiya khurrum

    ALHUMDULLIAH I got 7 points

  10. Shamsa saleem

    Thanks

  11. Roohia Bashir

    Great work👍

  12. kashif

    thanks

  13. heer khan

    i got 8 out of 10

  14. Leonel-I

    I like this website it’s a master piece! Glad I detected this
    ohttps://69v.topn google.Blog monetyze

  15. saif

    i got 8 out of 10

Leave a Reply