Computer S Tahsil - تحصيل الحاسب الٱلي
336 subscribers
404 photos
65 videos
135 files
207 links
Download Telegram
in flow chart, diamonds are used to show statement sequences, and rectangle are used for decision point
Anonymous Quiz
32%
✅️
68%
❎️
information that is stored and manipulated by computer is called data
Anonymous Quiz
78%
✅️
22%
❎️
the number of possible arrangements of n items is equal to n!
Anonymous Quiz
83%
✅️
17%
❎️
Type conversion function such as float or safe alternative to eval for getting a number as user input
Anonymous Quiz
82%
✅️
18%
❎️
in python, 4+5 produces the same as result type as 4.0+5.0
Anonymous Quiz
29%
✅️
71%
❎️
the sqrt function computes the squirt of a number
Anonymous Quiz
35%
✅️
65%
❎️
in python, x = x+1 is legal statement
Anonymous Quiz
81%
✅️
19%
❎️
Aliasing occurs when two variables refer to the same object
Anonymous Quiz
84%
✅️
16%
❎️
A method that returns the value of an object's instance variable is called a(n)
Anonymous Quiz
15%
mutator
6%
function
18%
constructor
61%
accessor
What graphics class would be best for drawing a square?
Anonymous Quiz
16%
Square
84%
Rectangle
0%
Polygon
0%
Line
A user interface organized around visual elements and user actions is called a(n)
Anonymous Quiz
91%
GUI
0%
application
9%
windower
0%
API
A method that changes the state of an object is called a(n)
Anonymous Quiz
0%
stator
14%
constructor
10%
changor
76%
mutator
What command would set the coordinates of win to go from (0,0) in the lower-left corner to (10,10) in the upper-right?
Anonymous Quiz
28%
win.setcoords (Point (0,0), Point (10,10))
52%
win.setcoords (0, 0, 10, 10)
17%
win.setcoords (Point (10,10), Point (0,0))
3%
win.setcoords ((0,0), (10,10))
What command would be used to draw the graphics object shape into the graphics window win?
Anonymous Quiz
3%
win.draw(shape)
87%
shape.draw(win)
6%
shape.draw()
What color is color_rgb(0,255,255)
Anonymous Quiz
17%
yellow
8%
orange
72%
cyan
3%
magenta
Which of the following computes the horizontal distance between points
p1 and p2?
Anonymous Quiz
26%
p2.getX() - p1.getX()
60%
abs (p1.getX() - p2.getX())
0%
abs (p1-p2)
14%
abs (p1.getY() - p2.getY())
This media is not supported in your browser
VIEW IN TELEGRAM
هام💜.

نقلا عن الدكتور نزار
This media is not supported in your browser
VIEW IN TELEGRAM
هام💜

نقلا عن الدكتورة خديجة

#EC381
1