Kit Library / Computer Science / Programming Fundamentals

Quick Kit

Java script

Gu 22 leveled MCQs 17 flashcards Free

Shared by a Veda learner · Generated with Veda AI

⚡ Veda Bites

The whole idea, one bite at a time

Veda Bites are swipeable micro-lessons — each one teaches exactly one idea. Here's a taste from this kit; the app has the full deck.

💡 Key Idea

JavaScript શું છે?

વેબની ભાષા, શીખો મૂળભૂત.

JavaScript (JS) એ high-level, interpreted programming language છે જેનો ઉપયોગ મુખ્યત્વે web pagesને *interactive* બનાવવા માટે થાય છે. તે HTML અને CSS સાથે મળીને કામ કરે છે. JS browserમાં ચાલે છે અને userના actionsને respond કરી શકે છે.

↳ JavaScript એ વેબ પરની સૌથી મહત્વપૂર્ણ scripting language છે.

📖 Definition

Variables: let, const, var

ડેટા સ્ટોર કરવાના ત્રણ રસ્તા.

JavaScriptમાં ડેટા સ્ટોર કરવા માટે variables વપરાય છે. ત્રણ મુખ્ય keywords છે: `let`, `const`, અને `var`. `let` block-scoped છે અને તેની value બદલી શકાય છે. `const` પણ block-scoped છે પણ તેની value reassign કરી શકાતી નથી. `var` function-scoped છે અને જૂની પદ્ધતિ છે.

↳ મોટાભાગે `let` અને `const` વાપરો, `var` ટાળો.

⭐ Important Fact

Data Types: Primitive vs Reference

ડેટાના પ્રકારો સમજો.

JavaScriptમાં primitive data types (String, Number, Boolean, null, undefined, Symbol, BigInt) અને reference data types (Object, Array, Function) હોય છે. Primitives by value સ્ટોર થાય છે, જ્યારે references by reference સ્ટોર થાય છે.

↳ Primitives immutable છે, objects mutable છે.

📖 Smart notes

What you'll study, topic by topic

1

JavaScript Fundamentals: Variables, Data Types, and Functions

JavaScript એ વેબ પરની મુખ્ય scripting language છે જે variables, data types, અને functions દ્વારા interactive web pages બનાવવામાં મદદ કરે છે. આ ટોપિકમાં let/const/var, primitive vs reference types, type coercion, scope, h...

  • JavaScript high-level, interpreted language છે, મુખ્યત્વે client-side વપરાય છે.
  • Variables માટે let (mutable) અને const (immutable) વાપરવાની ભલામણ છે.
  • Primitive types (String, Number, Boolean, etc.) immutable છે, reference types (Object, Array) mutable છે.

~8 min · full explanation, examples & memory tricks in the app

❓ Leveled MCQ practice

Try the smart MCQs from this kit

22 questions laddered from warm-up to topper-level, each with an explanation. A taste:

JavaScript માં variable declare કરવા માટે નીચેનામાંથી કયો keyword વપરાય છે?

Beginner
A int B float C var D string
Show answer & explanation

var

JavaScript માં variable declare કરવા માટે var, let, અને const keywords વપરાય છે. int, string, float એ JavaScript માં variable types નથી.

JavaScript માં 'null' ડેટા ટાઈપ શું દર્શાવે છે?

Intermediate
A એક intentional absence of any object value B એક undefined value C એક boolean false D એક ખાલી string
Show answer & explanation

એક intentional absence of any object value

null એ intentional રીતે object value ની ગેરહાજરી દર્શાવે છે. undefined એ variable declare થયો પણ value assign ન થઈ તે દર્શાવે છે.

JavaScript function ને define કરવા માટે નીચેનામાંથી કયો syntax સાચો છે?

Beginner
A func myFunction() {} B function: myFunction() {} C function myFunction() {} D def myFunction() {}
Show answer & explanation

function myFunction() {}

JavaScript માં function ને 'function' keyword વડે define કરવામાં આવે છે, ત્યારબાદ function name અને parentheses આવે છે.

JavaScript માં '===' ઓપરેટર શું કરે છે?

Intermediate
A value અને data type બંનેની સરખામણી કરે છે B માત્ર value ની સરખામણી કરે છે C માત્ર data type ની સરખામણી કરે છે D value ને string માં convert કરીને સરખામણી કરે છે
Show answer & explanation

value અને data type બંનેની સરખામણી કરે છે

'===' strict equality operator છે જે value અને data type બંનેની સરખામણી કરે છે, જ્યારે '==' માત્ર value ની સરખામણી કરે છે.

🃏 Flashcards

Tap a card to flip it

17 flashcards in this kit — the app reviews them with spaced repetition so the right card returns on the right day.

Study it properly — free, in the app

The full Veda Bites deck, complete notes, spaced-repetition flashcards, leveled MCQs, tests and games for this kit — plus Daily Facts and the Arena, every day.