- Видео 497
- Просмотров 200 623
SortedCoding
Индия
Добавлен 1 апр 2021
Welcome to SortedCoding!
I'm Chetan Raut , a passionate coder and educator dedicated to helping you master the art of coding. On this channel, you'll find:
In-depth tutorials on popular programming languages like Python, Java, and JavaScript
Coding challenges to practice and improve your skills
Q&A sessions to answer your questions and provide clarity on complex topics
Live streams to connect with the community and learn together
Why Subscribe:
Improve your coding skills with practical tips and simplified explanations
Stay up-to-date with industry trends and best practices
Join a supportive community of like-minded coders
Get exclusive content not available anywhere else
Let's Code Together!
Subscribe to SortedCoding today and join a community of coders who are passionate about learning, growing, and creating.
Business enquiry:- rautx158@gmail.com
I'm Chetan Raut , a passionate coder and educator dedicated to helping you master the art of coding. On this channel, you'll find:
In-depth tutorials on popular programming languages like Python, Java, and JavaScript
Coding challenges to practice and improve your skills
Q&A sessions to answer your questions and provide clarity on complex topics
Live streams to connect with the community and learn together
Why Subscribe:
Improve your coding skills with practical tips and simplified explanations
Stay up-to-date with industry trends and best practices
Join a supportive community of like-minded coders
Get exclusive content not available anywhere else
Let's Code Together!
Subscribe to SortedCoding today and join a community of coders who are passionate about learning, growing, and creating.
Business enquiry:- rautx158@gmail.com
How to verify/Get Verified badge on LinkedIn profile for Free with step-by-step instructions
How to verify/Get Verified badge on LinkedIn profile for Free with step-by-step instructions
Просмотров: 161
Видео
how to draw a beautiful triangular geometrical shape using a python turtle 🤔 watch now 💥
Просмотров 33314 дней назад
how to draw a beautiful triangular geometrical shape using a python turtle 🤔 watch now 💥
Solving 100 Python MCQs in 100 Days - Day 40 Challenge!
Просмотров 12014 дней назад
Solving 100 Python MCQs in 100 Days - Day 40 Challenge!
How to verify/Get Verified badge on LinkedIn profile for Free
Просмотров 83914 дней назад
How to verify/Get Verified badge on LinkedIn profile for Free
Solving 100 Python MCQs in 100 Days - Day 42 Challenge!
Просмотров 2421 день назад
Solving 100 Python MCQs in 100 Days - Day 42 Challenge!
Solving 100 Python MCQs in 100 Days - Day 41 Challenge!
Просмотров 821 день назад
Solving 100 Python MCQs in 100 Days - Day 41 Challenge!
Solving 100 Python MCQs in 100 Days - Day 39 Challenge!
Просмотров 821 день назад
Solving 100 Python MCQs in 100 Days - Day 39 Challenge!
Solving 100 Python MCQs in 100 Days - Day 38 Challenge!
Просмотров 821 день назад
Solving 100 Python MCQs in 100 Days - Day 38 Challenge!
Solving 100 Python MCQs in 100 Days - Day 21 Challenge!
Просмотров 221 день назад
Solving 100 Python MCQs in 100 Days - Day 21 Challenge!
Solving 100 Python MCQs in 100 Days - Day 14 Challenge!
Просмотров 221 день назад
Solving 100 Python MCQs in 100 Days - Day 14 Challenge!
Solving 100 Python MCQs in 100 Days - Day 37 Challenge!
Просмотров 321 день назад
Solving 100 Python MCQs in 100 Days - Day 37 Challenge!
Test Website Responsiveness with Ease: Responsive Viewer Extension Tutorial
Просмотров 5221 день назад
Test Website Responsiveness with Ease: Responsive Viewer Extension Tutorial
Solving 100 Python MCQs in 100 Days - Day 36 Challenge!
Просмотров 1021 день назад
Solving 100 Python MCQs in 100 Days - Day 36 Challenge!
Solving 100 Python MCQs in 100 Days - Day 35 Challenge!
Просмотров 3621 день назад
Solving 100 Python MCQs in 100 Days - Day 35 Challenge!
Solving 100 Python MCQs in 100 Days - Day 34 Challenge!
Просмотров 6321 день назад
Solving 100 Python MCQs in 100 Days - Day 34 Challenge!
Solving 100 Python MCQs in 100 Days - Day 33 Challenge!
Просмотров 3721 день назад
Solving 100 Python MCQs in 100 Days - Day 33 Challenge!
Solving 100 Python MCQs in 100 Days - Day 32 Challenge!
Просмотров 121 день назад
Solving 100 Python MCQs in 100 Days - Day 32 Challenge!
Solving 100 Python MCQs in 100 Days - Day 31 Challenge!
Просмотров 321 день назад
Solving 100 Python MCQs in 100 Days - Day 31 Challenge!
Solving 100 Python MCQs in 100 Days - Day 30 Challenge!
Просмотров 321 день назад
Solving 100 Python MCQs in 100 Days - Day 30 Challenge!
Solving 100 Python MCQs in 100 Days - Day 29 Challenge!
Просмотров 321 день назад
Solving 100 Python MCQs in 100 Days - Day 29 Challenge!
Solving 100 Python MCQs in 100 Days - Day 28 Challenge!
Просмотров 321 день назад
Solving 100 Python MCQs in 100 Days - Day 28 Challenge!
Solving 100 Python MCQs in 100 Days - Day 27 Challenge!
Просмотров 421 день назад
Solving 100 Python MCQs in 100 Days - Day 27 Challenge!
Solving 100 Python MCQs in 100 Days - Day 26 Challenge!
Просмотров 221 день назад
Solving 100 Python MCQs in 100 Days - Day 26 Challenge!
Solving 100 Python MCQs in 100 Days - Day 25 Challenge!
21 день назад
Solving 100 Python MCQs in 100 Days - Day 25 Challenge!
Solving 100 Python MCQs in 100 Days - Day 24 Challenge!
Просмотров 221 день назад
Solving 100 Python MCQs in 100 Days - Day 24 Challenge!
Solving 100 Python MCQs in 100 Days - Day 23 Challenge!
21 день назад
Solving 100 Python MCQs in 100 Days - Day 23 Challenge!
Solving 100 Python MCQs in 100 Days - Day 22 Challenge!
Просмотров 221 день назад
Solving 100 Python MCQs in 100 Days - Day 22 Challenge!
Solving 100 Python MCQs in 100 Days - Day 20 Challenge!
Просмотров 121 день назад
Solving 100 Python MCQs in 100 Days - Day 20 Challenge!
Solving 100 Python MCQs in 100 Days - Day 19 Challenge!
Просмотров 321 день назад
Solving 100 Python MCQs in 100 Days - Day 19 Challenge!
C
A) correct option
✔️👏👏👏
B
I dont even know javascript but its similar to python so i say b
You know the concept ✔️👏👏👏
B
Allow share karne ke baad autmatic back a gaya hai bina selfi liye aur verify abhi nahi huaa hai
@@SurajKumar-kr5op same problem hota hy 4-5 try kro ho jayga....kisi ka 1 time me ho jata kisi kisi ka 6-7 try me ho jata
Ans-b Because a set can't hold same type of elements
✔️👏👏
A!
❌ B ✔️ Explanation: The Set object only stores unique values. In this case, the array [1, 2, 2] contains a duplicate 2. When you create a set using new Set([1, 2, 2]), it will only store unique values, so the set will be {1, 2}. The size of the set is 2 because it has two unique elements: 1 and 2. So, the correct answer is B) 2.
a since you log arr
❌ B ✔️ Explanation: The shift() method removes the first element from an array and returns it. Initially, the array arr is [1, 2, 3]. After calling arr.shift(), the first element (1) is removed, and arr becomes [2, 3]. console.log(arr) will output [2, 3]. So, the correct answer is B) [2, 3].
I mean just think of it in pseudo code
🙌🙌
b since its taking index 0 of arr
✔️👏👏
B
✔️👏👏
D
Print statement has no )
✔️👏👏
✔️👏👏
If you give the answer its boring,if you can't give the answer that i am eagerly waiting for an your replay😑
B) To executive the block conditionally
A
✔️👏👏
Is x++ the only increament in this while loop ? I know c++ and python So confused with JS syntax. 😅
1. Initialization: let x = 0; initializes x to 0. 2. While loop condition: (x++ < 5, x < 3) is using the comma operator, which evaluates both expressions but only returns the value of the second one (x < 3). x++ < 5: This means the value of x is checked and then incremented by 1. x < 3: This is the condition that controls the loop. Iteration breakdown: 1. First iteration: Initial value of x is 0. x++ means x is compared as 0, then incremented to 1. The condition x < 3 is checked, which is true (1 < 3), so the loop runs. console.log(x) prints 1. 2. Second iteration: Now, x is 1. x++ means x is compared as 1, then incremented to 2. The condition x < 3 is checked, which is true (2 < 3), so the loop runs. console.log(x) prints 2. 3. Third iteration: Now, x is 2. x++ means x is compared as 2, then incremented to 3. The condition x < 3 is checked, which is false (3 < 3), so the loop stops. Output: The values printed by console.log(x) are 1 and 2. Thus, the correct output is A) 1, 2.
@@SortedCoding thanks for the explanation
B
✔️👏👏
B
✔️👏👏
A
❌ B ✔️ Explanation 👇 1.arr is declared as an empty array []. 2. func is a function that returns the arr when called. 3. func() is called, so it returns arr, which is an empty array. 4. typeof is used to check the type of the value returned by func(). Since func() returns an array, and in JavaScript, arrays are considered objects, the result of typeof func() will be "object". The output will be object. So, the correct option is: B) object.
@@SortedCoding damn, thank you.
@@bonka4459 ☺️🙌
Haven't used js in a while, but as far as I remember C should be correct.
@@swuppy-real-170 C ❌ B ✔️ The pop() method removes the last element of the array and returns it. In the array arr = [1, 2, 3, null], the last element is null. When arr.pop() is executed, null is removed, and it is returned by the pop() method. So, the value of removed will be null. Therefore, the correct output will still be null, and the correct option remains B) null.
💗💓
@@PRABAHER.J ☺️🙌
B ,but there is no else statement
✔️👏👏...you are doing well...keep it up ☺️
❤
☺️🙌
B ==
✔️👏
D
✔️👏👏
B
✔️👏👏
B 👍
✔️👏👏
B
❌ A ✔️... condition is not greater than equal to its Only greater than
👍👍
☺️🙌
B
✔️👏👏
Bro same doubt where is "x" declaration for 🤨
Delectation error 👏👏
Declaration error 👏👏
Bro where is "x" declaration 😵💫
We have to only check the error
A. (10,9,8,7,6,5,4,3,2,1)
🧐
C ✔️
I think so B
❌ C ✔️
AAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAA
A
✔️👏👏
A
✔️👏👏
B
✔️👏👏
A
✔️👏👏
A
✔️👏👏
A
✔️👏👏
A
✔️👏👏
D
✔️👏👏
: near print
No error
No😮
😂