For column major the formula will be: A[ i ][ j ] = [ ( j × m + i ) × size ] + B.A. here, m : no. of rows, B.A. : Base Address ●For example: Supose we need to find the address of '02' : Step 1 - Add the elements in a column as you did in the row major. Step 2 - The base address is 100 and the size is 1, so mark the elements accordingly. Step 3 - As we need to find the address of '02', we have i as '0' and j as '2' so the formula will be as follows: A[ 0 ][ 2 ] = [ ( 2 x 3 + 0 ) × 1 ] + 100 = [ 6 × 1 ] + 100 = 6 + 100 = 106 And as sir said in the video, if the indexing is from 1 rather than 0, just do ( i - 1 ) and ( j - 1 ) in the formula, i.e., => A[ i ][ j ] = [ { ( j - 1 ) × m + ( i - 1 ) } × size ] + B.A.
@GateSmashers Dear Sir, I need your help please make a video on the Roadmap of OS development •what things actually we need to develop a complete operating system Please guide me #someone
#correction 🚨 : if index is 1 then you have to change FORMAT OF FORMULA: I-1* N is wrong ( as 1st mul then add ) it should be :- (N*I-1+J-1)*bytes+Base address So for ease remember it as index 0: { (N*I+J)*W(Size/bytes)+B(base address) 8:08 Correct me if I'm wrong... My prev sem went absolutely well.... All because of you Bhai... I know aap guru hain but somehow I feel like mera bade bhai hain aur wo samjha re h sab.. So Bhai hi bulaunga 🌝❣️
Plz Dynamic programming me jo matrix chain product wala topic hai us sy related video upload kr dyn ..... mera monday ko final exam hai DAA ka plz ....
For column major the formula will be:
A[ i ][ j ] = [ ( j × m + i ) × size ] + B.A.
here, m : no. of rows,
B.A. : Base Address
●For example:
Supose we need to find the address of '02' :
Step 1 - Add the elements in a column as you did in the row major.
Step 2 - The base address is 100 and the size is 1, so mark the elements accordingly.
Step 3 - As we need to find the address of '02', we have i as '0' and j as '2' so the formula will be as follows:
A[ 0 ][ 2 ] = [ ( 2 x 3 + 0 ) × 1 ] + 100
= [ 6 × 1 ] + 100
= 6 + 100
= 106
And as sir said in the video, if the indexing is from 1 rather than 0, just do ( i - 1 ) and ( j - 1 ) in the formula, i.e.,
=> A[ i ][ j ] = [ { ( j - 1 ) × m + ( i - 1 ) } × size ] + B.A.
Amazing sir apki video se muje samaj aa hi jata hae bere simple waay se samjate ho ap sir thanks apka
nice sir 2 din se idhar udhar se padh rha tha formula learn kr rha tha apne 2 min me samjha diya
ye banda ese example deta hai ki ek baar sunlo toh koi bhool nii sakta
a[i][j] = [[(i * total no. of columns)+j]*incremental no. or size] + base address
thanku so much sir best explanation 😍😍😍😍😍
Sir I followed u since 2 yr , ur teaching techniques is outstanding ❤
Excelent!
Sir ka voice kaise change ho geya? Voice kaisa aa raha he.
Sir ko cold ho gya
Sir patle ho gaye
Sookh bhi gae
Sir ko moye moye ho gya
Because sir ki sadhi ho gayi hai isi liye wo patle ho gaye hai 😂😂😂😂
Excellent explanation Sir! Example bohot sahi tha
Best explanation sir ji🙏 now clear my all doubt on this question so thankyou so much.
Sir 1 D array me accessing elements samajh nhi aya mam ne clear nhi bataya , sirf rough writinh me mashup kar diya sab kuch
amazing video
Your explanation is vivid! Could you kindly create a playlist for MACHINE LEARNING please? I have that subject this semester.
Sir agar hmne (23) ka adress nikalna hoga to a(2)(3) lege ummed hai reply ayega ❤
Super explanation from kerala
Kerla se explanation nahi ho rahi😅
Because sir ki sadhi ho gayi hai isi liye wo patle ho gaye hai 😂😂😂😂
Sir Puri playlist complete Karo na DS ki.
Mereko jarurat hai DS ki.
I love only your videos.❤
Love your explainstion sir
Watching this video at 1:39 A.M
Agr 3 values ajain phr means jsy 108 etc
Sir 1 question tha kya hum ise adress calculation bhi bol sakte hai?
Koe bata skta hai? Sir ki is wali playlist ka kia name hai?C++ related?
Sir ji one dimensional array ka address kese find Karter bta dijiye
Hamyen array size Kesy malom Karna hoga
Sir at 2006 the size was 4006
Column major ke video link share kr de jeya sir
Nahi mil rha
Har koi ake apna formula thopke chela jata he aj concept clear hua dimag kharab tha ye kya formula he yad nenhi rehta ajse formula ratna iska band
He sounds like he took some helium and decided to make videos
Sir agar 21 ki Jaga 9 hota koi single number hota phir kaisay pta chalay ga Kai kitnay rows cross Karnay hai??
Please answer kardain
Sir ji EMRS Ka liye course leka aaeya na for computer science(PGT)
Sir How does midjourney work?
Sir Please Microprocessor Ki Playlist Complete Upload Kar Dijiye..
Video banate samay sir ko 😷 hua h
Sir hpsc 1st ppr k liye mcq book suggest kre plz 🙏
@GateSmashers Dear Sir,
I need your help please make a video on the Roadmap of OS development
•what things actually we need to develop a complete operating system
Please guide me #someone
Sir IB junior intelligence officer vacancy ko preparation kaise kare computer science ke liye
Please sir ek video bana digea
sir kamzoor hogye hyn ya mjhe lag rh hyn
😂
Bhaiya kl Aapki tarah dikhte h 😅
thank you sir
Please complete Data Structure playlist
what happened to your voice sir?
#correction 🚨 : if index is 1 then you have to change FORMAT OF FORMULA: I-1* N is wrong ( as 1st mul then add ) it should be :- (N*I-1+J-1)*bytes+Base address
So for ease remember it as index 0: { (N*I+J)*W(Size/bytes)+B(base address) 8:08
Correct me if I'm wrong...
My prev sem went absolutely well.... All because of you Bhai... I know aap guru hain but somehow I feel like mera bade bhai hain aur wo samjha re h sab.. So Bhai hi bulaunga 🌝❣️
@@tej.askamble explain...
Plz Dynamic programming me jo matrix chain product wala topic hai us sy related video upload kr dyn ..... mera monday ko final exam hai DAA ka plz ....
thankuuuuuuuu
Sir ugc net ki course start krie n
sir aap itne kamzor kaise ho gaye .?
😂✊🏻💦
@@diamondlover441kya joke maara :/
Mutthi maarne se koi kamzor nahi banta , ye myth hai
❤❤
Please make video on fence fill algorithm in computer graphics with example
Best way of explanation,
Maza aa gaya sir
Thanks 🙏🏻🙏🏻
1D array aapke hi channel p ek mam s pada tha, very poor way of teaching, i disliked the video 💯
Sir aapki voice change ho gyi h 🤔
Auto tune laga diya
sir apka voice speed bhut fast hai.....
maa'm ke respect mein..😒😒😒😒
But int take 2 ir 4 byte so logic is not correct
Can you please take in English language bro
channel band krle jab adhure topics kara rakhe h to
Bro exam se pehle bacche itna hi smjege😂
sir speak slowly please
Ma yahan sir ko 1.75x ki speed pay sun rhi hon 😅bcz kal exam hai 1x pay boht slow bol rhay
sir ye to column major order ka formula bta diya aapne😢
Sir can you create a video about booth's algorithm???
Plz🥹🥹
It is my earnings request 🙏
Sir IB junior intelligence officer vacancy ko preparation kaise kare computer science ke liye
Please sir ek video bana digea
Please make video of columns major order
Sir IB junior intelligence officer vacancy ko preparation kaise kare computer science ke liye
Please sir ek video bana digea