1. struct kalit so'zi yordamida qanday tuzilma yaratiladi? A yozuv b birlashma c matritsa
Download 65.72 Kb.
|
MTA BAZA 2023 @TATU BAZA
1, 0, 0, 0, 1, 1,
1, 0, 0, 0, 0, 1, 0, 1, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0 B) 1, 0, 0, 1, 1, 0, 1, 0 0, 0, 1, 1, 0, 0, 0, 0 0, 0, 0, 0, 0, 1, 1, 1 0, 1, 0, 0, 1, 0, 0, 0 0, 0, 1, 0, 0, 0, 0, 1 1, 1, 0, 0, 0, 1, 0, 0 C) 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0 D) 1, 0, 0, 1, 0 0, 1, 0, 0, 0 0, 1, 1, 0, 0 0, 0, 1, 0, 1 0, 0, 0, 1, 0 1, 0, 0, 0, 1 169. Berilgan grafning insidient matritsasini aniqlang " A) 1, 0, 0, 0, 1 0, 1, 0, 0, 0 0, 1, 0, 1, 0 0, 0, 1, 1, 0 0, 0, 1, 0, 1 1, 0, 0, 0, 0 B) 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0 C) 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0 D) 1, 0, 0, 1, 0 0, 1, 0, 0, 0 0, 1, 1, 0, 0 0, 0, 1, 0, 1 0, 0, 0, 1, 0 1, 0, 0, 0, 1 170. Berilgan grafning insidient matritsasini aniqlang " A) 1, 0, 0, 1, 0 0, 1, 0, 0, 0 0, 1, 1, 0, 0 0, 0, 1, 0, 1 0, 0, 0, 1, 0 1, 0, 0, 0, 1 B) 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0 C) 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0 D) 1, 0, 0, 0, 1 0, 1, 0, 0, 0 0, 1, 0, 1, 0 0, 0, 1, 1, 0 0, 0, 1, 0, 1 1, 0, 0, 0, 0 171. D={57,75,8,69,25,1,4,52,58,66}. Berilgan ma'lumotlardan binar qidiruv daraxtini quring. Daraxtning balandligini toping A) 5 B) 4 C) 3 D) 6 172. D={57,75,8,69,25,1,4,52,58,66}. Berilgan ma'lumotlardan binar qidiruv daraxtini quring. Daraxtning barg tugunlarning sonini toping A) 3 B) 4 C) 2 D) 5 173. D={57,75,8,69,25,1,4,52,58,66}. Berilgan ma'lumotlardan binar qidiruv daraxtini quring. Daraxtning shox(oraliq) tugunlarning sonini toping A) 6 B) 7 C) 5 D) 8 174. D={67,15,58,45,96,83,2,11,68,40,50,94,38,34,31}. Berilgan ma'lumotlardan binar qidiruv daraxtini quring. Daraxtning balandligini toping A) 8 B) 7 C) 5 D) 4 175. D={67,15,58,45,96,83,2,11,68,40,50,94,38,34,31}. Berilgan ma'lumotlardan binar qidiruv daraxtini quring. Daraxtning barg tugunlarning sonini toping A) 5 B) 6 C) 4 D) 7 176. D={67,15,58,45,96,83,2,11,68,40,50,94,38,34,31}. Berilgan ma'lumotlardan binar qidiruv daraxtini quring. Daraxtning shox(oraliq) tugunlarning sonini toping A) 9 B) 10 C) 8 D) 7 177. D={27,45,45,31,49,6,23,12,7,5,33,3}. Berilgan ma'lumotlardan binar qidiruv daraxtini quring. Daraxtning balandligini toping A) 5 B) 4 C) 6 D) 3 178. D={27,45,45,31,49,6,23,12,7,5,33,3}. Berilgan ma'lumotlardan binar qidiruv daraxtini quring. Daraxtning barg tugunlarning sonini toping A) 4 B) 5 C) 3 D) 6 179. D={27,45,45,31,49,6,23,12,7,5,33,3}. Berilgan ma'lumotlardan binar qidiruv daraxtini quring. Daraxtning shox(oraliq) tugunlarning sonini toping A) 6 B) 7 C) 5 D) 8 180. D={29,43,29,19,33,49,28,6,25,48,42,7,31}. Berilgan ma'lumotlardan binar qidiruv daraxtini quring. Daraxtning balandligini toping A) 4 B) 5 C) 6 D) 7 181. D={29,43,29,19,33,49,28,6,25,48,42,7,31}. Berilgan ma'lumotlardan binar qidiruv daraxtini quring. Daraxtning barg tugunlarning sonini toping A) 5 B) 6 C) 4 D) 7 182. D={29,43,29,19,33,49,28,6,25,48,42,7,31}. Berilgan ma'lumotlardan binar qidiruv daraxtini quring. Daraxtning shox(oraliq) tugunlarning sonini toping A) 6 B) 7 C) 8 D) 5 183. Quyida keltirilgan funktsiyaning vazifasini aniqlang: double FUNCTION(int arr[], int n) { double REZ = 0; for(int i=0; i<n; i++) REZ +=arr[i]; REZ /= n; return REZ; } " A) Massiv elementlarning o'rta-arifmetik qiymatini hisoblaydi B) Massiv elementlarning o'rta-geometrik qiymatini hisoblaydi C) Massiv elementlarning yig'indisini hisoblaydi D) Massiv elementlarning ko'paytmasini hisoblaydi 184. Quyida keltirilgan funktsiyaning vazifasini aniqlang: double FUNCTION(int arr[], int n) { double REZ = 1; for(int i=0; i<n; i++) REZ *=arr[i]; REZ = pow(REZ, 1.0/n); return REZ; } " A) Massiv elementlarning o'rta-geometrik qiymatini hisoblaydi B) Massiv elementlarning yig'indisini hisoblaydi C) Massiv elementlarning ko'paytmasini hisoblaydi D) Massiv elementlarning o'rta-arifmetik qiymatini hisoblaydi 185. Quyida keltirilgan funktsiyaning vazifasini aniqlang: double FUNCTION(int arr[], int n) { double REZ = 0; for(int i=0; i<n; i++) REZ +=arr[i]; return REZ; } " A) Massiv elementlarning yig'indisini hisoblaydi B) Massiv elementlarning ko'paytmasini hisoblaydi C) Massiv elementlarning o'rta-arifmetik qiymatini hisoblaydi D) Massiv elementlarning o'rta-geometrik qiymatini hisoblaydi 186. Quyida keltirilgan funktsiyaning vazifasini aniqlang: double FUNCTION(int arr[], int n) { double REZ = 1; for(int i=0; i<n; i++) REZ *=arr[i]; return REZ; } " A) Massiv elementlarning ko'paytmasini hisoblaydi B) Massiv elementlarning o'rta-arifmetik qiymatini hisoblaydi C) Massiv elementlarning o'rta-geometrik qiymatini hisoblaydi D) Massiv elementlarning yig'indisini hisoblaydi 187. Quyida keltirilgan funktsiyaning vazifasini aniqlang: void FUNCTION(int **A, int N) { for (int i=0; i<N; i++) for (int j=0; j<N; j++) A[i][j] = rand()%100 - rand()%100; } " A) Matritsani tasodifiy sonlar bilan to'ldirish funktsiyasi B) Matritsani ekranga chop etish funktsiyasi C) Matritsani qu'ldan kiritish funktsiyasi D) Matritsani izini hisoblash funktsiyasi 188. Quyida keltirilgan funktsiyaning vazifasini aniqlang: void FUNCTION(int **A, int N) { Download 65.72 Kb. Do'stlaringiz bilan baham: |
Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling
ma'muriyatiga murojaat qiling