From 1d4f190149bf245ad7a0e493b096f42c51a5992b Mon Sep 17 00:00:00 2001 From: hexatester Date: Fri, 1 Jan 2021 22:55:38 +0700 Subject: [PATCH] Migrate 2.4-arrays-loops id quiz to quiz-app --- .../.github/post-lecture-quiz.id.md | 18 --------- .../.github/pre-lecture-quiz.id.md | 13 ------- .../4-arrays-loops/translations/README.id.md | 4 +- quiz-app/src/assets/translations/id.json | 38 +++++++++---------- 4 files changed, 21 insertions(+), 52 deletions(-) delete mode 100644 2-js-basics/4-arrays-loops/translations/.github/post-lecture-quiz.id.md delete mode 100644 2-js-basics/4-arrays-loops/translations/.github/pre-lecture-quiz.id.md diff --git a/2-js-basics/4-arrays-loops/translations/.github/post-lecture-quiz.id.md b/2-js-basics/4-arrays-loops/translations/.github/post-lecture-quiz.id.md deleted file mode 100644 index 0834f76e..00000000 --- a/2-js-basics/4-arrays-loops/translations/.github/post-lecture-quiz.id.md +++ /dev/null @@ -1,18 +0,0 @@ -*Selesaikan kuis ini dengan mencentang satu jawaban per pertanyaan.* - -1. Bagian for-loop manakah yang perlu Anda modifikasi untuk menambah iterasinya sebesar 5 - -- [ ] kondisi -- [ ] counter -- [ ] ekspresi-iterasi - -2. Apa perbedaan antara `while` dan `for-loop` - -- [ ] Sebuah `for-loop` memiliki penghitung dan ekspresi-iterasi, di mana `while` hanya memiliki kondisi -- [ ] A `while` memiliki penghitung dan ekspresi-iterasi di mana `for-loop` hanya memiliki kondisi -- [ ] Mereka sama, hanya alias untuk satu sama lain - -3. Diberikan kode `for (let i = 1; i <5; i ++)`, berapa banyak iterasi yang akan dilakukan? - -- [ ] 5 -- [ ] 4 diff --git a/2-js-basics/4-arrays-loops/translations/.github/pre-lecture-quiz.id.md b/2-js-basics/4-arrays-loops/translations/.github/pre-lecture-quiz.id.md deleted file mode 100644 index b04f6fc2..00000000 --- a/2-js-basics/4-arrays-loops/translations/.github/pre-lecture-quiz.id.md +++ /dev/null @@ -1,13 +0,0 @@ -*Selesaikan kuis ini di kelas* - -1. Untuk merujuk ke item tertentu dalam sebuah array, Anda akan menggunakan a - -- [ ] kurung siku `[]` -- [ ] indeks -- [ ] kurung kurawal `{}` - -2. Bagaimana Anda mendapatkan jumlah item dalam sebuah array - -- [ ] Metode `len(array)` -- [ ] Properti `size` pada array -- [ ] Properti `length` pada array diff --git a/2-js-basics/4-arrays-loops/translations/README.id.md b/2-js-basics/4-arrays-loops/translations/README.id.md index 0080b7c0..974da4e7 100644 --- a/2-js-basics/4-arrays-loops/translations/README.id.md +++ b/2-js-basics/4-arrays-loops/translations/README.id.md @@ -6,7 +6,7 @@ ## Kuis Pra-Kuliah -[Kuis pra-Kuliah](./.github/pre-lecture-quiz.id.md) +[Kuis pra-Kuliah](https://nice-beach-0fe9e9d0f.azurestaticapps.net/quiz/13)) Pelajaran ini mencakup dasar-dasar JavaScript, bahasa yang menyediakan interaktivitas di web. Dalam pelajaran ini, Anda akan belajar tentang array dan loop, yang digunakan untuk memanipulasi data. @@ -130,7 +130,7 @@ Ada cara lain untuk melakukan perulangan pada array selain perulangan for dan wh ## Kuis Pasca-Kuliah -[Kuis pasca-kuliah](./.github/post-lecture-quiz.id.md) +[Kuis pasca-kuliah](https://nice-beach-0fe9e9d0f.azurestaticapps.net/quiz/14) ## Review & Belajar Mandiri diff --git a/quiz-app/src/assets/translations/id.json b/quiz-app/src/assets/translations/id.json index a118939c..116651ec 100644 --- a/quiz-app/src/assets/translations/id.json +++ b/quiz-app/src/assets/translations/id.json @@ -646,44 +646,44 @@ }, { "id": 13, - "title": "Lesson 7 - JavaScript Basics - Arrays and Loops: Pre-Lecture Quiz", + "title": "Pelajaran 7 - Dasar-dasar JavaScript - Array dan Loop: Kuis Pra-Kuliah", "quiz": [ { - "questionText": "To refer to a specific item in an array, you would use a", + "questionText": "Untuk merujuk ke item tertentu dalam sebuah array, Anda akan menggunakan a", "answerOptions": [ { - "answerText": "square bracket []", + "answerText": "kurung siku []", "isCorrect": "false" }, { - "answerText": "index", + "answerText": "indeks", "isCorrect": "true" }, { - "answerText": "curly braces {}", + "answerText": "kurung kurawal {}", "isCorrect": "false" } ] }, { - "questionText": "How do you get the number of items in an array?", + "questionText": "Bagaimana Anda mendapatkan jumlah item dalam sebuah array", "answerOptions": [ { - "answerText": "The 'len(array)' method", + "answerText": "Metode `len(array)`", "isCorrect": "false" }, { - "answerText": "The property size on the array", + "answerText": "Properti `size` pada array", "isCorrect": "false" }, { - "answerText": "The length property on the array", + "answerText": "Properti `length` pada array", "isCorrect": "true" } ] }, { - "questionText": "In JavaScript, indexes start at", + "questionText": "Di JavaScript, indeks dimulai dari", "answerOptions": [ { "answerText": "0", @@ -703,13 +703,13 @@ }, { "id": 14, - "title": "Lesson 7 - JavaScript Basics - Arrays and Loops: Post-Lecture Quiz", + "title": "Pelajaran 7 - Dasar-dasar JavaScript - Array dan Loop: Kuis Pasca-Kuliah", "quiz": [ { - "questionText": "What part of a for-loop would you need to modify to increment its iteration by 5?", + "questionText": "Bagian for-loop manakah yang perlu Anda modifikasi untuk menambah iterasinya sebesar 5", "answerOptions": [ { - "answerText": "condition", + "answerText": "kondisi", "isCorrect": "true" }, { @@ -717,30 +717,30 @@ "isCorrect": "false" }, { - "answerText": "iteration-expression", + "answerText": "ekspresi-iterasi", "isCorrect": "false" } ] }, { - "questionText": "What's the difference between a while and a for-loop", + "questionText": "Apa perbedaan antara while dan for-loop", "answerOptions": [ { - "answerText": "A for-loop has a counter and iteration-expression, where while only has a condition", + "answerText": "Sebuah for-loop memiliki penghitung dan ekspresi-iterasi, di mana while hanya memiliki kondisi", "isCorrect": "true" }, { - "answerText": "A while has a counter and iteration-expression where for-loop only has a condition", + "answerText": "Sebuah while memiliki penghitung dan ekspresi-iterasi di mana for-loop hanya memiliki kondisi", "isCorrect": "false" }, { - "answerText": "They are the same, just an alias for one another", + "answerText": "Mereka sama, hanya alias untuk satu sama lain", "isCorrect": "false" } ] }, { - "questionText": "Given the code for (let i=1; i < 5; i++), how many iterations will it perform?", + "questionText": "Diberikan kode for (let i = 1; i <5; i ++), berapa banyak iterasi yang akan dilakukan?", "answerOptions": [ { "answerText": "5",