Media is too big
VIEW IN TELEGRAM
Interviewer: Sirjoddin Odamboev (4+ years experience);
Candidate: Isroiljon Abduvakhobov (2.5+ years experience);
Candidate: Isroiljon Abduvakhobov (2.5+ years experience);
⚡6
Techie's Blog
Interviewer: Sirjoddin Odamboev (4+ years experience); Candidate: Isroiljon Abduvakhobov (2.5+ years experience);
⚡ Flutter Interview Questions
Programming:
◦ Statically typed programming language and dynamically typed programming language
◦ OOP and its 4 pillars
◦ Difference between abstract classes and interfaces
◦ overloading vs overriding
◦ What is HTTP
◦ SOLID
Dart:
◦ Which platforms dart compiler can compile
◦ Tell me about Dart VM
◦ Tell me about null safety
◦ final vs const
◦ dart collections
◦ dart collections vs package collections
◦ Tell me about map types in dart
◦ Tell me about the object class
◦ The hashCode property uses for what?
◦ Tell me about pattern matching
◦ Tell me about sealed classes
◦ Tell me about macros
◦ EventLoop: events and microtasks
Flutter:
◦ What is flutter?
◦ Flutter architectural overview.
◦ Widgets in flutter
◦ Stateful widget lifecycle
◦ Keys in flutter
◦ Testing in flutter
◦ Trees in flutter
◦ Inherited widget
◦ Buildcontext
◦ Tree shaking
◦ Animations
◦ runZonedGuarded
◦ Platform specific connection
◦ Navigation system in flutter
P.s/ O'ylemanki barchaga foydali bo'ldi.
Programming:
◦ Statically typed programming language and dynamically typed programming language
◦ OOP and its 4 pillars
◦ Difference between abstract classes and interfaces
◦ overloading vs overriding
◦ What is HTTP
◦ SOLID
Dart:
◦ Which platforms dart compiler can compile
◦ Tell me about Dart VM
◦ Tell me about null safety
◦ final vs const
◦ dart collections
◦ dart collections vs package collections
◦ Tell me about map types in dart
◦ Tell me about the object class
◦ The hashCode property uses for what?
◦ Tell me about pattern matching
◦ Tell me about sealed classes
◦ Tell me about macros
◦ EventLoop: events and microtasks
Flutter:
◦ What is flutter?
◦ Flutter architectural overview.
◦ Widgets in flutter
◦ Stateful widget lifecycle
◦ Keys in flutter
◦ Testing in flutter
◦ Trees in flutter
◦ Inherited widget
◦ Buildcontext
◦ Tree shaking
◦ Animations
◦ runZonedGuarded
◦ Platform specific connection
◦ Navigation system in flutter
P.s/ O'ylemanki barchaga foydali bo'ldi.
👍6🔥1
#savol
Dart'da pattern matching nima ?
Pattern matching - bu o‘zgaruvchilarni aniqlash, shartlarni tekshirish va ma’lumotlarni ajratib olish (destructuring) uchun ishlatiladigan qulay usul. U Dart 3 versiyasidan boshlab qo‘llab-quvvatlanadi va switch operatorida yoki if-case bloklarida ishlatiladi.
1️⃣ Oddit pattern matching (switch bilan) :
2️⃣ Destructuring (recordlar bilan):
bu yerda pattern matching yordamida tuple (Record) qiymatlari ajratib olindi.
3️⃣ if-case bilan pattern matching:
4️⃣ Pattern Matching bilan JSON-like obyektlarni ajratish
case {'name': String name, 'age': int age} – JSON (Map) ichidagi qiymatlarni ajratib oladi.
Dart'da pattern matching nima ?
Pattern matching - bu o‘zgaruvchilarni aniqlash, shartlarni tekshirish va ma’lumotlarni ajratib olish (destructuring) uchun ishlatiladigan qulay usul. U Dart 3 versiyasidan boshlab qo‘llab-quvvatlanadi va switch operatorida yoki if-case bloklarida ishlatiladi.
1️⃣ Oddit pattern matching (switch bilan) :
void checkValue(Object value) {
switch (value) {
case int n:
print('Bu butun son: $n');
break;
case String s:
print('Bu string: $s');
break;
default:
print('Noma’lum tur');
}
}
void main() {
checkValue(42); // Bu butun son: 42
checkValue("Salom"); // Bu string: Salom
}
2️⃣ Destructuring (recordlar bilan):
(String, int) getUser() {
return ('Isroiljon', 25);
}
void main() {
var (name, age) = getUser();
print('Ism: $name, Yoshi: $age'); // Ism: Isroiljon, Yoshi: 25
}
bu yerda pattern matching yordamida tuple (Record) qiymatlari ajratib olindi.
3️⃣ if-case bilan pattern matching:
void checkType(Object obj) {
if (obj case int n) {
print('Bu butun son: $n');
} else if (obj case String s) {
print('Bu string: $s');
} else {
print('Noma’lum tur');
}
}
void main() {
checkType(100); // Bu butun son: 100
checkType('Hello'); // Bu string: Hello
}
4️⃣ Pattern Matching bilan JSON-like obyektlarni ajratish
void checkUser(Map<String, dynamic> user) {
switch (user) {
case {'name': String name, 'age': int age}:
print('Ism: $name, Yoshi: $age');
break;
default:
print('Noto‘g‘ri formatdagi user');
}
}
void main() {
var user = {'name': 'Isroiljon', 'age': 25};
checkUser(user); // Ism: Isroiljon, Yoshi: 25
}
case {'name': String name, 'age': int age} – JSON (Map) ichidagi qiymatlarni ajratib oladi.
#ramazonMuborak 🌙
Olloh bu ramazon oyini chiroyli va o’ziga maqbul amallar bilan o’tkazishlikni hammamizga nasib qilsin. Hammaga Ramazon muborak bo’lsin 😇.
Olloh bu ramazon oyini chiroyli va o’ziga maqbul amallar bilan o’tkazishlikni hammamizga nasib qilsin. Hammaga Ramazon muborak bo’lsin 😇.
👍7
Dasturlash'da o'zi nima qilinadi deganlar uchun qiziqarli animation video
p.s / Dasturlashdan xabari bo'lmaganlar ham ko'rib mazza qiladi ishonavering.
p.s / Dasturlashdan xabari bo'lmaganlar ham ko'rib mazza qiladi ishonavering.
👍2🔥2
Forwarded from The Stranger
Albatta, kitob yaxshi. Biroq kitobxon ekan deb nuqul kitob beravermang. Hech boʻlmasa gul bering.
🔥4🫡1
#midnight
«Olislarda, qayerdadir mening ham gulim bor», – deb shivirlasang bas – ko‘ksing tog‘dek ko‘tarilib ketadi…»
«Olislarda, qayerdadir mening ham gulim bor», – deb shivirlasang bas – ko‘ksing tog‘dek ko‘tarilib ketadi…»
❤🔥2