1/35
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No study sessions yet.
Can MATLAB print both text and variables?
نعم
Can the input command accept strings?
نعم
Does disp print the variable name?
لا، يطبع القيمة فقط
Give an example of string input usage.
إدخال اسم القسم كنص
How can text and variable output be combined?
باستخدام disp لأكثر من سطر
How can you increase printed precision?
بزيادة عدد الأرقام بعد الفاصلة
How do you accept string input in MATLAB?
باستخدام الصيغة input(prompt,'s')
How do you control decimal precision in fprintf?
باستخدام الصيغة %w.df
How does fprintf differ from disp?
fprintf يسمح بتنسيق الإخراج بدقة
How does MATLAB interact with the user?
من خلال أوامر الإدخال والإخراج
What command allows formatted output in MATLAB?
الأمر fprintf
What command is used for user input in MATLAB?
الأمر input
What command is used to display output in MATLAB?
الأمر disp
What does \n mean in fprintf?
الانتقال إلى سطر جديد
What does %1.4f mean?
رقم عشري مع رقم واحد قبل الفاصلة و4 أرقام بعدها
What does %2.4e represent?
تمثيل علمي بأربعة أرقام عشرية
What does %f represent in fprintf?
أعداد عشرية (floating point)
What does %i represent in fprintf?
أعداد صحيحة موجبة وسالبة
What does disp print?
يطبع النص أو قيمة المتغير فقط
What does fprintf('%1.4f',pi) display?
قيمة pi بأربع منازل عشرية
What does the 's' option in input mean?
يعني أن الإدخال سيكون نصياً (string)
What format symbol is used for engineering notation?
%e
What happens when input(prompt) is used?
يطلب من المستخدم إدخال قيمة ويتم تخزينها
What is basic input in MATLAB?
هو إدخال البيانات من المستخدم إلى البرنامج
What is basic output in MATLAB?
طباعة البيانات أو الرسائل في نافذة الأوامر
What is engineering notation?
طريقة عرض الأرقام باستخدام الصيغة العلمية
What is formatted output?
إخراج يسمح بإدراج المتغيرات داخل النص
What is the general syntax of the input command?
x = input(prompt)
What is the prompt in the input command?
نص يظهر للمستخدم في نافذة الأوامر
What is the syntax of the disp command?
disp(prompt)
What symbol is used for formatting in fprintf?
الرمز %
When should fprintf be used?
عند الحاجة لإخراج منسق ودقيق
Where does fprintf come from conceptually?
من لغة C/C++
Where is the user input stored?
يتم تخزينه في متغير
Why is \n important?
لتنظيم الإخراج في عدة أسطر
Why is disp(x) useful?
لأنه يطبع قيمة المتغير بدون x =