Skip to content

Instantly share code, notes, and snippets.

@ttycelery
Last active October 11, 2021 17:44
Show Gist options
  • Save ttycelery/a75f4ed9239c7244375171657070ead3 to your computer and use it in GitHub Desktop.
Save ttycelery/a75f4ed9239c7244375171657070ead3 to your computer and use it in GitHub Desktop.
Praktikum Pemrograman I: Tugas dan Kuis 6
CC = g++
CFLAGS = -Wall
PROGS = $(patsubst %.cpp, %, $(wildcard *.cpp))
default: $(PROGS)
%: %.o
$(CC) -o $@ $<
clean:
rm -f *.exe
.PHONY: default clean
<!DOCTYPE html>
<html dir="ltr" lang="en" xml:lang="en">
<head>
<title>Quiz - 6 - Data Structure (ID): Attempt review</title>
<link rel="shortcut icon" href="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=theme&amp;rev=1627708941&amp;image=favicon" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="moodle, Quiz - 6 - Data Structure (ID): Attempt review" />
<link rel="stylesheet" type="text/css" href="https://elok.ugm.ac.id/theme/yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.css" /><script id="firstthemesheet" type="text/css">/** Required in order to fix style inclusion problems in IE with YUI **/</script><link rel="stylesheet" type="text/css" href="https://elok.ugm.ac.id/theme/styles.php?theme=lambda&amp;rev=1627708941_1628126465&amp;type=all" />
<script>
//<![CDATA[
var M = {}; M.yui = {};
M.pageloadstarttime = new Date();
M.cfg = {"wwwroot":"https:\/\/elok.ugm.ac.id","sesskey":"wjUe2LpBcW","sessiontimeout":"86400","themerev":"1627708941","slasharguments":0,"theme":"lambda","iconsystemmodule":"core\/icon_system_standard","jsrev":"1627708941","admin":"admin","svgicons":true,"usertimezone":"Asia\/Jakarta","contextid":1378132,"langrev":1633641009,"templaterev":"1627708941"};var yui1ConfigFn = function(me) {if(/-skin|reset|fonts|grids|base/.test(me.name)){me.type='css';me.path=me.path.replace(/\.js/,'.css');me.path=me.path.replace(/\/yui2-skin/,'/assets/skins/sam/yui2-skin')}};
var yui2ConfigFn = function(me) {var parts=me.name.replace(/^moodle-/,'').split('-'),component=parts.shift(),module=parts[0],min='-min';if(/-(skin|core)$/.test(me.name)){parts.pop();me.type='css';min=''}
if(module){var filename=parts.join('-');me.path=component+'/'+module+'/'+filename+min+'.'+me.type}else{me.path=component+'/'+component+'.'+me.type}};
YUI_config = {"debug":false,"base":"https:\/\/elok.ugm.ac.id\/lib\/yuilib\/3.17.2\/","comboBase":"https:\/\/elok.ugm.ac.id\/theme\/yui_combo.php?","combine":true,"filter":null,"insertBefore":"firstthemesheet","groups":{"yui2":{"base":"https:\/\/elok.ugm.ac.id\/lib\/yuilib\/2in3\/2.9.0\/build\/","comboBase":"https:\/\/elok.ugm.ac.id\/theme\/yui_combo.php?","combine":true,"ext":false,"root":"2in3\/2.9.0\/build\/","patterns":{"yui2-":{"group":"yui2","configFn":yui1ConfigFn}}},"moodle":{"name":"moodle","base":"https:\/\/elok.ugm.ac.id\/theme\/yui_combo.php?m\/1627708941\/","combine":true,"comboBase":"https:\/\/elok.ugm.ac.id\/theme\/yui_combo.php?","ext":false,"root":"m\/1627708941\/","patterns":{"moodle-":{"group":"moodle","configFn":yui2ConfigFn}},"filter":null,"modules":{"moodle-core-notification":{"requires":["moodle-core-notification-dialogue","moodle-core-notification-alert","moodle-core-notification-confirm","moodle-core-notification-exception","moodle-core-notification-ajaxexception"]},"moodle-core-notification-dialogue":{"requires":["base","node","panel","escape","event-key","dd-plugin","moodle-core-widget-focusafterclose","moodle-core-lockscroll"]},"moodle-core-notification-alert":{"requires":["moodle-core-notification-dialogue"]},"moodle-core-notification-confirm":{"requires":["moodle-core-notification-dialogue"]},"moodle-core-notification-exception":{"requires":["moodle-core-notification-dialogue"]},"moodle-core-notification-ajaxexception":{"requires":["moodle-core-notification-dialogue"]},"moodle-core-blocks":{"requires":["base","node","io","dom","dd","dd-scroll","moodle-core-dragdrop","moodle-core-notification"]},"moodle-core-formchangechecker":{"requires":["base","event-focus","moodle-core-event"]},"moodle-core-tooltip":{"requires":["base","node","io-base","moodle-core-notification-dialogue","json-parse","widget-position","widget-position-align","event-outside","cache-base"]},"moodle-core-lockscroll":{"requires":["plugin","base-build"]},"moodle-core-popuphelp":{"requires":["moodle-core-tooltip"]},"moodle-core-handlebars":{"condition":{"trigger":"handlebars","when":"after"}},"moodle-core-dragdrop":{"requires":["base","node","io","dom","dd","event-key","event-focus","moodle-core-notification"]},"moodle-core-chooserdialogue":{"requires":["base","panel","moodle-core-notification"]},"moodle-core-actionmenu":{"requires":["base","event","node-event-simulate"]},"moodle-core-event":{"requires":["event-custom"]},"moodle-core-languninstallconfirm":{"requires":["base","node","moodle-core-notification-confirm","moodle-core-notification-alert"]},"moodle-core-maintenancemodetimer":{"requires":["base","node"]},"moodle-core_availability-form":{"requires":["base","node","event","event-delegate","panel","moodle-core-notification-dialogue","json"]},"moodle-backup-backupselectall":{"requires":["node","event","node-event-simulate","anim"]},"moodle-backup-confirmcancel":{"requires":["node","node-event-simulate","moodle-core-notification-confirm"]},"moodle-course-categoryexpander":{"requires":["node","event-key"]},"moodle-course-management":{"requires":["base","node","io-base","moodle-core-notification-exception","json-parse","dd-constrain","dd-proxy","dd-drop","dd-delegate","node-event-delegate"]},"moodle-course-dragdrop":{"requires":["base","node","io","dom","dd","dd-scroll","moodle-core-dragdrop","moodle-core-notification","moodle-course-coursebase","moodle-course-util"]},"moodle-course-formatchooser":{"requires":["base","node","node-event-simulate"]},"moodle-course-util":{"requires":["node"],"use":["moodle-course-util-base"],"submodules":{"moodle-course-util-base":{},"moodle-course-util-section":{"requires":["node","moodle-course-util-base"]},"moodle-course-util-cm":{"requires":["node","moodle-course-util-base"]}}},"moodle-form-passwordunmask":{"requires":[]},"moodle-form-shortforms":{"requires":["node","base","selector-css3","moodle-core-event"]},"moodle-form-dateselector":{"requires":["base","node","overlay","calendar"]},"moodle-question-preview":{"requires":["base","dom","event-delegate","event-key","core_question_engine"]},"moodle-question-chooser":{"requires":["moodle-core-chooserdialogue"]},"moodle-question-searchform":{"requires":["base","node"]},"moodle-availability_completion-form":{"requires":["base","node","event","moodle-core_availability-form"]},"moodle-availability_date-form":{"requires":["base","node","event","io","moodle-core_availability-form"]},"moodle-availability_grade-form":{"requires":["base","node","event","moodle-core_availability-form"]},"moodle-availability_group-form":{"requires":["base","node","event","moodle-core_availability-form"]},"moodle-availability_grouping-form":{"requires":["base","node","event","moodle-core_availability-form"]},"moodle-availability_profile-form":{"requires":["base","node","event","moodle-core_availability-form"]},"moodle-availability_xp-form":{"requires":["base","node","event","handlebars","moodle-core_availability-form"]},"moodle-mod_assign-history":{"requires":["node","transition"]},"moodle-mod_attendance-groupfilter":{"requires":["base","node"]},"moodle-mod_customcert-rearrange":{"requires":["dd-delegate","dd-drag"]},"moodle-mod_quiz-modform":{"requires":["base","node","event"]},"moodle-mod_quiz-toolboxes":{"requires":["base","node","event","event-key","io","moodle-mod_quiz-quizbase","moodle-mod_quiz-util-slot","moodle-core-notification-ajaxexception"]},"moodle-mod_quiz-questionchooser":{"requires":["moodle-core-chooserdialogue","moodle-mod_quiz-util","querystring-parse"]},"moodle-mod_quiz-autosave":{"requires":["base","node","event","event-valuechange","node-event-delegate","io-form"]},"moodle-mod_quiz-dragdrop":{"requires":["base","node","io","dom","dd","dd-scroll","moodle-core-dragdrop","moodle-core-notification","moodle-mod_quiz-quizbase","moodle-mod_quiz-util-base","moodle-mod_quiz-util-page","moodle-mod_quiz-util-slot","moodle-course-util"]},"moodle-mod_quiz-util":{"requires":["node","moodle-core-actionmenu"],"use":["moodle-mod_quiz-util-base"],"submodules":{"moodle-mod_quiz-util-base":{},"moodle-mod_quiz-util-slot":{"requires":["node","moodle-mod_quiz-util-base"]},"moodle-mod_quiz-util-page":{"requires":["node","moodle-mod_quiz-util-base"]}}},"moodle-mod_quiz-quizbase":{"requires":["base","node"]},"moodle-message_airnotifier-toolboxes":{"requires":["base","node","io"]},"moodle-block_xp-filters":{"requires":["base","node","moodle-core-dragdrop","moodle-block_xp-rulepicker"]},"moodle-block_xp-notification":{"requires":["base","node","handlebars","button-plugin","moodle-core-notification-dialogue"]},"moodle-block_xp-rulepicker":{"requires":["base","node","handlebars","moodle-core-notification-dialogue"]},"moodle-filter_glossary-autolinker":{"requires":["base","node","io-base","json-parse","event-delegate","overlay","moodle-core-event","moodle-core-notification-alert","moodle-core-notification-exception","moodle-core-notification-ajaxexception"]},"moodle-filter_mathjaxloader-loader":{"requires":["moodle-core-event"]},"moodle-editor_atto-editor":{"requires":["node","transition","io","overlay","escape","event","event-simulate","event-custom","node-event-html5","node-event-simulate","yui-throttle","moodle-core-notification-dialogue","moodle-core-notification-confirm","moodle-editor_atto-rangy","handlebars","timers","querystring-stringify"]},"moodle-editor_atto-plugin":{"requires":["node","base","escape","event","event-outside","handlebars","event-custom","timers","moodle-editor_atto-menu"]},"moodle-editor_atto-menu":{"requires":["moodle-core-notification-dialogue","node","event","event-custom"]},"moodle-editor_atto-rangy":{"requires":[]},"moodle-report_eventlist-eventfilter":{"requires":["base","event","node","node-event-delegate","datatable","autocomplete","autocomplete-filters"]},"moodle-report_loglive-fetchlogs":{"requires":["base","event","node","io","node-event-delegate"]},"moodle-gradereport_grader-gradereporttable":{"requires":["base","node","event","handlebars","overlay","event-hover"]},"moodle-gradereport_history-userselector":{"requires":["escape","event-delegate","event-key","handlebars","io-base","json-parse","moodle-core-notification-dialogue"]},"moodle-tool_capability-search":{"requires":["base","node"]},"moodle-tool_lp-dragdrop-reorder":{"requires":["moodle-core-dragdrop"]},"moodle-tool_monitor-dropdown":{"requires":["base","event","node"]},"moodle-assignfeedback_editpdf-editor":{"requires":["base","event","node","io","graphics","json","event-move","event-resize","transition","querystring-stringify-simple","moodle-core-notification-dialog","moodle-core-notification-alert","moodle-core-notification-warning","moodle-core-notification-exception","moodle-core-notification-ajaxexception"]},"moodle-atto_accessibilitychecker-button":{"requires":["color-base","moodle-editor_atto-plugin"]},"moodle-atto_accessibilityhelper-button":{"requires":["moodle-editor_atto-plugin"]},"moodle-atto_align-button":{"requires":["moodle-editor_atto-plugin"]},"moodle-atto_bold-button":{"requires":["moodle-editor_atto-plugin"]},"moodle-atto_charmap-button":{"requires":["moodle-editor_atto-plugin"]},"moodle-atto_clear-button":{"requires":["moodle-editor_atto-plugin"]},"moodle-atto_collapse-button":{"requires":["moodle-editor_atto-plugin"]},"moodle-atto_emojipicker-button":{"requires":["moodle-editor_atto-plugin"]},"moodle-atto_emoticon-button":{"requires":["moodle-editor_atto-plugin"]},"moodle-atto_equation-button":{"requires":["moodle-editor_atto-plugin","moodle-core-event","io","event-valuechange","tabview","array-extras"]},"moodle-atto_h5p-button":{"requires":["moodle-editor_atto-plugin"]},"moodle-atto_html-button":{"requires":["promise","moodle-editor_atto-plugin","moodle-atto_html-beautify","moodle-atto_html-codemirror","event-valuechange"]},"moodle-atto_html-codemirror":{"requires":["moodle-atto_html-codemirror-skin"]},"moodle-atto_html-beautify":{},"moodle-atto_image-button":{"requires":["moodle-editor_atto-plugin"]},"moodle-atto_indent-button":{"requires":["moodle-editor_atto-plugin"]},"moodle-atto_italic-button":{"requires":["moodle-editor_atto-plugin"]},"moodle-atto_link-button":{"requires":["moodle-editor_atto-plugin"]},"moodle-atto_managefiles-button":{"requires":["moodle-editor_atto-plugin"]},"moodle-atto_managefiles-usedfiles":{"requires":["node","escape"]},"moodle-atto_media-button":{"requires":["moodle-editor_atto-plugin","moodle-form-shortforms"]},"moodle-atto_noautolink-button":{"requires":["moodle-editor_atto-plugin"]},"moodle-atto_orderedlist-button":{"requires":["moodle-editor_atto-plugin"]},"moodle-atto_recordrtc-button":{"requires":["moodle-editor_atto-plugin","moodle-atto_recordrtc-recording"]},"moodle-atto_recordrtc-recording":{"requires":["moodle-atto_recordrtc-button"]},"moodle-atto_rtl-button":{"requires":["moodle-editor_atto-plugin"]},"moodle-atto_strike-button":{"requires":["moodle-editor_atto-plugin"]},"moodle-atto_subscript-button":{"requires":["moodle-editor_atto-plugin"]},"moodle-atto_superscript-button":{"requires":["moodle-editor_atto-plugin"]},"moodle-atto_table-button":{"requires":["moodle-editor_atto-plugin","moodle-editor_atto-menu","event","event-valuechange"]},"moodle-atto_title-button":{"requires":["moodle-editor_atto-plugin"]},"moodle-atto_underline-button":{"requires":["moodle-editor_atto-plugin"]},"moodle-atto_undo-button":{"requires":["moodle-editor_atto-plugin"]},"moodle-atto_unorderedlist-button":{"requires":["moodle-editor_atto-plugin"]},"moodle-atto_wiris-button":{"requires":["moodle-editor_atto-plugin","get"]}}},"gallery":{"name":"gallery","base":"https:\/\/elok.ugm.ac.id\/lib\/yuilib\/gallery\/","combine":true,"comboBase":"https:\/\/elok.ugm.ac.id\/theme\/yui_combo.php?","ext":false,"root":"gallery\/1627708941\/","patterns":{"gallery-":{"group":"gallery"}}}},"modules":{"core_filepicker":{"name":"core_filepicker","fullpath":"https:\/\/elok.ugm.ac.id\/lib\/javascript.php?rev=1627708941&jsfile=%2Frepository%2Ffilepicker.js","requires":["base","node","node-event-simulate","json","async-queue","io-base","io-upload-iframe","io-form","yui2-treeview","panel","cookie","datatable","datatable-sort","resize-plugin","dd-plugin","escape","moodle-core_filepicker","moodle-core-notification-dialogue"]},"core_comment":{"name":"core_comment","fullpath":"https:\/\/elok.ugm.ac.id\/lib\/javascript.php?rev=1627708941&jsfile=%2Fcomment%2Fcomment.js","requires":["base","io-base","node","json","yui2-animation","overlay","escape"]},"mathjax":{"name":"mathjax","fullpath":"https:\/\/cdn.jsdelivr.net\/npm\/mathjax@2.7.8\/MathJax.js?delayStartupUntil=configured"},"core_question_flags":{"name":"core_question_flags","fullpath":"https:\/\/elok.ugm.ac.id\/lib\/javascript.php?rev=1627708941&jsfile=%2Fquestion%2Fflags.js","requires":["base","dom","event-delegate","io-base"]},"core_question_engine":{"name":"core_question_engine","fullpath":"https:\/\/elok.ugm.ac.id\/lib\/javascript.php?rev=1627708941&jsfile=%2Fquestion%2Fqengine.js","requires":["node","event"]},"mod_quiz":{"name":"mod_quiz","fullpath":"https:\/\/elok.ugm.ac.id\/lib\/javascript.php?rev=1627708941&jsfile=%2Fmod%2Fquiz%2Fmodule.js","requires":["base","dom","event-delegate","event-key","core_question_engine","moodle-core-formchangechecker"]}}};
M.yui.loader = {modules: {}};
//]]>
</script>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Google web fonts -->
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,700%7CArvo:700&subset=latin-ext" rel="stylesheet">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.11.2/css/all.css" crossorigin="anonymous">
</head>
<body id="page-mod-quiz-review" class="format-topics path-mod path-mod-quiz chrome dir-ltr lang-en yui-skin-sam yui3-skin-sam elok-ugm-ac-id pagelayout-incourse course-3648 context-1378132 cmid-202955 category-73 ">
<div class="elok-version">
<div>
<a class="sr-only sr-only-focusable" href="#maincontent">Skip to main content</a>
</div><script src="https://elok.ugm.ac.id/lib/javascript.php?rev=1627708941&amp;jsfile=%2Flib%2Fbabel-polyfill%2Fpolyfill.min.js"></script>
<script src="https://elok.ugm.ac.id/lib/javascript.php?rev=1627708941&amp;jsfile=%2Flib%2Fpolyfills%2Fpolyfill.js"></script>
<script src="https://elok.ugm.ac.id/theme/yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js"></script><script src="https://elok.ugm.ac.id/lib/jquery/jquery-3.4.1.min.js"></script>
<script src="https://elok.ugm.ac.id/lib/javascript.php?rev=1627708941&amp;jsfile=%2Flib%2Fjavascript-static.js"></script>
<script src="https://elok.ugm.ac.id/theme/javascript.php?theme=lambda&amp;rev=1627708941&amp;type=head"></script>
<script>
//<![CDATA[
document.body.className += ' jsenabled';
//]]>
</script>
<div id="wrapper">
<header id="top-bar" class="clearfix">
<div class="container-fluid">
<div class="row-fluid">
<div class="span8">
<ul class="top-nav">
<li>
<a href="http://um.ugm.ac.id/">Admission</a>
</li>
<li>
<a href="https://penelitian.ugm.ac.id/">Research</a>
</li>
<li>
<a href="https://ugm.ac.id/id/berita">News</a>
</li>
<li>
<a href="http://helpdesk.pika.ugm.ac.id/">Help Desk</a>
</li>
<!-- <li>
<a href="#">Contact</a>
</li> -->
</ul>
</div>
<div class="span4 login-header">
<div class="profileblock">
<div id="loggedin-user"><div class="popover-region collapsed popover-region-notifications"
id="nav-notification-popover-container" data-userid="102562"
data-region="popover-region">
<div class="popover-region-toggle nav-link"
data-region="popover-region-toggle"
role="button"
aria-controls="popover-region-container-61647706168cf616477060aa3b4"
aria-haspopup="true"
aria-label="Show notification window with no new notifications"
tabindex="0">
<img class="icon " alt="Toggle notifications menu" title="Toggle notifications menu" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Fnotifications" />
<div class="count-container hidden" data-region="count-container"
aria-label="There are 0 unread notifications">0</div>
</div>
<div
id="popover-region-container-61647706168cf616477060aa3b4"
class="popover-region-container"
data-region="popover-region-container"
aria-expanded="false"
aria-hidden="true"
aria-label="Notification window"
role="region">
<div class="popover-region-header-container">
<h3 class="popover-region-header-text" data-region="popover-region-header-text">Notifications</h3>
<div class="popover-region-header-actions" data-region="popover-region-header-actions"> <a class="mark-all-read-button"
href="#"
title="Mark all as read"
data-action="mark-all-read"
role="button"
aria-label="Mark all as read">
<span class="normal-icon"><img class="icon " alt="" aria-hidden="true" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=t%2Fmarkasread" /></span>
<span class="loading-icon icon-no-margin"><img class="icon " alt="Loading" title="Loading" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Floading" /></span>
</a>
<a href="https://elok.ugm.ac.id/message/notificationpreferences.php?userid=102562"
title="Notification preferences"
aria-label="Notification preferences">
<img class="icon " alt="" aria-hidden="true" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Fsettings" />
</a>
</div>
</div>
<div class="popover-region-content-container" data-region="popover-region-content-container">
<div class="popover-region-content" data-region="popover-region-content">
<div class="all-notifications"
data-region="all-notifications"
role="log"
aria-busy="false"
aria-atomic="false"
aria-relevant="additions"></div>
<div class="empty-message" tabindex="0" data-region="empty-message">You have no notifications</div>
</div>
<span class="loading-icon icon-no-margin"><img class="icon " alt="Loading" title="Loading" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Floading" /></span>
</div>
<a class="see-all-link"
href="https://elok.ugm.ac.id/message/output/popup/notifications.php">
<div class="popover-region-footer-container">
<div class="popover-region-seeall-text">See all</div>
</div>
</a>
</div>
</div><div class="popover-region collapsed" data-region="popover-region-messages">
<a id="message-drawer-toggle-61647706188ae616477060aa3b5" class="nav-link d-inline-block popover-region-toggle position-relative" href="#"
role="button">
<img class="icon " alt="Toggle messaging drawer" title="Toggle messaging drawer" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=t%2Fmessage" />
<div class="count-container hidden" data-region="count-container"
aria-label="There are 0 unread conversations">0</div>
</a>
<span class="sr-only sr-only-focusable" data-region="jumpto" tabindex="-1"></span></div><div class="usermenu"><div class="action-menu moodle-actionmenu nowrap-items d-inline" id="action-menu-0" data-enhance="moodle-core-actionmenu">
<div class="menubar d-flex " id="action-menu-0-menubar" role="menubar">
<div class="action-menu-trigger">
<div class="dropdown">
<a href="#" tabindex="0" class="d-inline-block dropdown-toggle icon-no-margin" id="action-menu-toggle-0" aria-label="User menu" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false" aria-controls="action-menu-0-menu">
<span class="userbutton"><span class="usertext mr-1">Hamba Allah</span><span class="avatars"><span class="avatar current"><img src="https://elok.ugm.ac.id/theme/image.php" class="userpicture defaultuserpic" width="35" height="35" aria-hidden="true" /></span></span></span>
<b class="caret"></b>
</a>
<div class="dropdown-menu dropdown-menu-right menu align-tr-br" id="action-menu-0-menu" data-rel="menu-content" aria-labelledby="action-menu-toggle-0" role="menu" data-align="tr-br">
<a href="https://elok.ugm.ac.id/my/" class="dropdown-item menu-action" role="menuitem" data-title="mymoodle,admin" aria-labelledby="actionmenuaction-1">
<img class="icon " alt="" aria-hidden="true" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Fdashboard" />
<span class="menu-action-text" id="actionmenuaction-1">Dashboard</span>
</a>
<div class="dropdown-divider" role="presentation"><span class="filler">&nbsp;</span></div>
<a href="https://elok.ugm.ac.id/user/profile.php?id=102562" class="dropdown-item menu-action" role="menuitem" data-title="profile,moodle" aria-labelledby="actionmenuaction-2">
<img class="icon " alt="" aria-hidden="true" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Fuser" />
<span class="menu-action-text" id="actionmenuaction-2">Profile</span>
</a>
<a href="https://elok.ugm.ac.id/grade/report/overview/index.php" class="dropdown-item menu-action" role="menuitem" data-title="grades,grades" aria-labelledby="actionmenuaction-3">
<img class="icon " alt="" aria-hidden="true" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=t%2Fgrades" />
<span class="menu-action-text" id="actionmenuaction-3">Grades</span>
</a>
<a href="https://elok.ugm.ac.id/message/index.php" class="dropdown-item menu-action" role="menuitem" data-title="messages,message" aria-labelledby="actionmenuaction-4">
<img class="icon " alt="" aria-hidden="true" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=t%2Fmessage" />
<span class="menu-action-text" id="actionmenuaction-4">Messages</span>
</a>
<a href="https://elok.ugm.ac.id/user/preferences.php" class="dropdown-item menu-action" role="menuitem" data-title="preferences,moodle" aria-labelledby="actionmenuaction-5">
<img class="icon " alt="" aria-hidden="true" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=t%2Fpreferences" />
<span class="menu-action-text" id="actionmenuaction-5">Preferences</span>
</a>
<div class="dropdown-divider" role="presentation"><span class="filler">&nbsp;</span></div>
<a href="https://elok.ugm.ac.id/login/logout.php?sesskey=wjUe2LpBcW" class="dropdown-item menu-action" role="menuitem" data-title="logout,moodle" aria-labelledby="actionmenuaction-6">
<img class="icon " alt="" aria-hidden="true" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=a%2Flogout" />
<span class="menu-action-text" id="actionmenuaction-6">Log out</span>
</a>
</div>
</div>
</div>
</div>
</div></div><a href="https://elok.ugm.ac.id/user/view.php?id=102562&amp;course=3648" class="d-inline-block aabtn"><img src="https://elok.ugm.ac.id/theme/image.php" class="welcome_userpicture defaultuserpic" width="35" height="35" alt="Picture of Hamba Allah" title="Picture of Hamba Allah" /></a></div>
</div>
</div>
</div>
</div>
</header>
<header id="page-header" class="clearfix">
<div class="container-fluid">
<div class="row-fluid">
<!-- HEADER: LOGO AREA -->
<div class="logo-header">
<a class="logo" href="https://elok.ugm.ac.id" title="Home">
<img src="//elok.ugm.ac.id/pluginfile.php?file=%2F1%2Ftheme_lambda%2Flogo%2F1627708941%2Flogo%202021.png" class="img-responsive" alt="logo" /> </a>
</div>
<div class="navbar">
<nav role="navigation" class="navbar-inner">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<div class="nav-collapse collapse">
<ul class="nav"><li><a href="https://elok.ugm.ac.id/course/index.php">Courses</a></li><li><a href="https://elok.ugm.ac.id/mod/page/view.php?id=18">About Us</a></li><li><a href="https://elok.ugm.ac.id/mod/page/view.php?id=506">FAQ</a></li><li class="dropdown"><a href="" class="dropdown-toggle" data-toggle="dropdown" title="My courses">My courses<b class="caret"></b></a><ul class="dropdown-menu"><li><a title="MII1201 Pemrograman" href="https://elok.ugm.ac.id/course/view.php?id=6756">FMIPA-MII1201-Pemrograman</a></li><li><a title="Fisika Dasar I TA 2021/2022 MFF1011" href="https://elok.ugm.ac.id/course/view.php?id=7951">Fisika Dasar I KeMIPAan</a></li><li><a title="LOGIKA INFORMATIKA MII 211002 (KOMA &amp;amp; KOMB)" href="https://elok.ugm.ac.id/course/view.php?id=3538">LOGIKA INFORMATIKA MII 211002 (KOMA &amp; KOMB)</a></li><li><a title="Praktikum Pemrograman I" href="https://elok.ugm.ac.id/course/view.php?id=3648">Prak Pemrograman I</a></li><li><a title="PPSMB Universitas 2021 - Modul 1 : Introductory Course" href="https://elok.ugm.ac.id/course/view.php?id=6717">PPSMB Universitas 2021 - 1. Introductory Course</a></li><li><a title="PPSMB Universitas 2021 - Modul 5. Aksi Nyataku untuk Masyarakat" href="https://elok.ugm.ac.id/course/view.php?id=6723">PPSMB Universitas 2021 - 5. Aksi Nyataku untuk Masyarakat</a></li></ul></ul> <ul class="nav pull-right">
<li></li>
</ul>
<form id="search" action="https://elok.ugm.ac.id/course/search.php" >
<input id="coursesearchbox" type="text" onFocus="if(this.value =='Search courses' ) this.value=''" onBlur="if(this.value=='') this.value='Search courses'" value="Search courses" name="search" >
<input type="submit" value="">
</form>
</div>
</nav>
</div>
</div>
</div>
</header>
<style>
.navbar #search input[type="submit"] {
float: right;
}
@media (min-width: 980px) {
.navbar #search input#coursesearchbox {
float: left;
width: 200px;
height: auto;
}
.navbar #search:hover input#coursesearchbox {
width: 200px;
}
.navbar #search input#coursesearchbox:active,
.navbar #search input#coursesearchbox:focus {
width: 200px;
background: transparent;
}
}
.block_elok_info .iconbox.span12 {
float:none;
}
</style>
<!-- Start Main Regions -->
<div id="page" class="container-fluid">
<div id ="page-header-nav" class="clearfix">
<div id="page-navbar" class="clearfix">
<div class="breadcrumb-nav"><span class="accesshide" id="navbar-label">Page path</span><nav aria-labelledby="navbar-label"><ul class="breadcrumb"><li><span itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb"><a itemprop="url" href="https://elok.ugm.ac.id/my/"><span itemprop="title">Dashboard</span></a></span> <span class="divider"> <span class="accesshide " ><span class="arrow_text">/</span>&nbsp;</span><span class="arrow sep">&#x25BA;</span> </span></li><li><span tabindex="0">My courses</span> <span class="divider"> <span class="accesshide " ><span class="arrow_text">/</span>&nbsp;</span><span class="arrow sep">&#x25BA;</span> </span></li><li><span itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb"><a itemprop="url" title="Praktikum Pemrograman I" href="https://elok.ugm.ac.id/course/view.php?id=3648"><span itemprop="title">Prak Pemrograman I</span></a></span> <span class="divider"> <span class="accesshide " ><span class="arrow_text">/</span>&nbsp;</span><span class="arrow sep">&#x25BA;</span> </span></li><li><span tabindex="0">Topik 6 - Struct</span> <span class="divider"> <span class="accesshide " ><span class="arrow_text">/</span>&nbsp;</span><span class="arrow sep">&#x25BA;</span> </span></li><li><span itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb"><a itemprop="url" title="Quiz" aria-current="page" href="https://elok.ugm.ac.id/mod/quiz/view.php?id=202955"><span itemprop="title">Quiz - 6 - Data Structure (ID)</span></a></span></li></ul></nav></div>
<nav class="breadcrumb-button"></nav>
</div>
</div>
<div id="page-content" class="row-fluid">
<div class="span3 desktop-first-column">
<aside id="block-region-side-pre" class=" block-region" data-blockregion="side-pre" data-droptarget="1"><a href="#sb-1" class="sr-only sr-only-focusable">Skip &lt;span id=&quot;mod_quiz_navblock_title&quot;&gt;Quiz navigation&lt;/span&gt;</a>
<section id="mod_quiz_navblock"
class=" block block_fake card mb-3"
role="navigation"
data-block="_fake"
aria-labelledby="instance-fakeid-6164770633032-header"
>
<div class="card-body p-3">
<h5 id="instance-fakeid-6164770633032-header" class="card-title d-inline"><span id="mod_quiz_navblock_title">Quiz navigation</span></h5>
<div class="card-text content mt-3">
<div class="qn_buttons clearfix allquestionsononepage"><a class="qnbutton correct free btn thispage" id="quiznavbutton1" title="Correct" data-quiz-page="0" href="#"><span class="thispageholder"></span><span class="trafficlight"></span><span class="accesshide">Question </span>1<span class="accesshide"> This page <span class="flagstate"></span></span></a><a class="qnbutton correct free btn thispage" id="quiznavbutton2" title="Correct" data-quiz-page="1" href="#question-1276349-2"><span class="thispageholder"></span><span class="trafficlight"></span><span class="accesshide">Question </span>2<span class="accesshide"> This page <span class="flagstate"></span></span></a><a class="qnbutton correct free btn thispage" id="quiznavbutton3" title="Correct" data-quiz-page="2" href="#question-1276349-3"><span class="thispageholder"></span><span class="trafficlight"></span><span class="accesshide">Question </span>3<span class="accesshide"> This page <span class="flagstate"></span></span></a><a class="qnbutton correct free btn thispage" id="quiznavbutton4" title="Correct" data-quiz-page="3" href="#question-1276349-4"><span class="thispageholder"></span><span class="trafficlight"></span><span class="accesshide">Question </span>4<span class="accesshide"> This page <span class="flagstate"></span></span></a><a class="qnbutton correct free btn thispage" id="quiznavbutton5" title="Correct" data-quiz-page="4" href="#question-1276349-5"><span class="thispageholder"></span><span class="trafficlight"></span><span class="accesshide">Question </span>5<span class="accesshide"> This page <span class="flagstate"></span></span></a><a class="qnbutton correct free btn thispage" id="quiznavbutton6" title="Correct" data-quiz-page="5" href="#question-1276349-6"><span class="thispageholder"></span><span class="trafficlight"></span><span class="accesshide">Question </span>6<span class="accesshide"> This page <span class="flagstate"></span></span></a><a class="qnbutton correct free btn thispage" id="quiznavbutton7" title="Correct" data-quiz-page="6" href="#question-1276349-7"><span class="thispageholder"></span><span class="trafficlight"></span><span class="accesshide">Question </span>7<span class="accesshide"> This page <span class="flagstate"></span></span></a><a class="qnbutton correct free btn thispage" id="quiznavbutton8" title="Correct" data-quiz-page="7" href="#question-1276349-8"><span class="thispageholder"></span><span class="trafficlight"></span><span class="accesshide">Question </span>8<span class="accesshide"> This page <span class="flagstate"></span></span></a><a class="qnbutton correct free btn thispage" id="quiznavbutton9" title="Correct" data-quiz-page="8" href="#question-1276349-9"><span class="thispageholder"></span><span class="trafficlight"></span><span class="accesshide">Question </span>9<span class="accesshide"> This page <span class="flagstate"></span></span></a><a class="qnbutton correct free btn thispage" id="quiznavbutton10" title="Correct" data-quiz-page="9" href="#question-1276349-10"><span class="thispageholder"></span><span class="trafficlight"></span><span class="accesshide">Question </span>10<span class="accesshide"> This page <span class="flagstate"></span></span></a></div><div class="othernav"><a href="https://elok.ugm.ac.id/mod/quiz/review.php?attempt=1219478&amp;cmid=202955&amp;showall=0">Show one page at a time</a><a class="mod_quiz-next-nav" href="https://elok.ugm.ac.id/mod/quiz/view.php?id=202955">Finish review</a></div>
<div class="footer"></div>
</div>
</div>
</section>
<span id="sb-1"></span></aside> <aside id="block-region-side-post" class=" block-region" data-blockregion="side-post" data-droptarget="1"></aside> </div>
<div id="region-bs-main-and-pre" class="span9 pull-right">
<div class="row-fluid">
<section id="region-main" class="span12">
<span class="notifications" id="user-notifications"></span><div role="main"><span id="maincontent"></span><table class="generaltable generalbox quizreviewsummary"><tbody><tr><th class="cell" scope="row">Started on</th><td class="cell">Tuesday, 12 October 2021, 12:33 AM</td></tr><tr><th class="cell" scope="row">State</th><td class="cell">Finished</td></tr><tr><th class="cell" scope="row">Completed on</th><td class="cell">Tuesday, 12 October 2021, 12:40 AM</td></tr><tr><th class="cell" scope="row">Time taken</th><td class="cell">6 mins 31 secs</td></tr><tr><th class="cell" scope="row">Grade</th><td class="cell"><b>100.00</b> out of 100.00</td></tr></tbody></table><form action="https://elok.ugm.ac.id/mod/quiz/review.php?attempt=1219478&amp;cmid=202955" method="post" class="questionflagsaveform"><div><div id="question-1276349-1" class="que multichoice deferredfeedback correct"><div class="info"><h3 class="no">Question <span class="qno">1</span></h3><div class="state">Correct</div><div class="grade">Mark 10.00 out of 10.00</div><div class="questionflag editable" aria-atomic="true" aria-relevant="text" aria-live="assertive"><input type="hidden" name="q1276349:1_:flagged" value="0" /><input type="checkbox" id="q1276349:1_:flaggedcheckbox" name="q1276349:1_:flagged" value="1" /><input type="hidden" value="qaid=20349366&amp;qubaid=1276349&amp;qid=1084238&amp;slot=1&amp;checksum=82128d3d3d9c10b1db302eb21aca4d8b&amp;sesskey=wjUe2LpBcW&amp;newstate=" class="questionflagpostdata" /><label id="q1276349:1_:flaggedlabel" for="q1276349:1_:flaggedcheckbox"><img src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Funflagged" alt="Not flagged" class="questionflagimage" id="q1276349:1_:flaggedimg" /><span>Flag question</span></label>
</div></div><div class="content"><div class="formulation clearfix"><h4 class="accesshide">Question text</h4><input type="hidden" name="q1276349:1_:sequencecheck" value="3" /><div class="qtext"><p dir="ltr" style="text-align: left;"><p><span lang="EN-GB">Bentuk deklarasi struct pada C++
yang tepat adalah …</span></p><br></p></div><div class="ablock"><div class="answer"><div class="r0 correct"><input type="radio" name="q1276349:1_answer" disabled="disabled" value="0" id="q1276349:1_answer0" aria-labelledby="q1276349:1_answer0_label" checked="checked" /><div class="d-flex w-100" id="q1276349:1_answer0_label" data-region="answer-label"><span class="answernumber">a. </span><div class="flex-fill ml-1"><pre><span lang="EN-GB">Struct structName {<br></span><span lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; datatype fieldName1;<br></span><span lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; datatype fieldName2;<br></span><span lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; datatype fieldName3;<br></span><span lang="EN-GB">};</span></pre></div></div> <img class="icon " alt="Correct" title="Correct" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Fgrade_correct" /></div>
<div class="r1"><input type="radio" name="q1276349:1_answer" disabled="disabled" value="1" id="q1276349:1_answer1" aria-labelledby="q1276349:1_answer1_label" /><div class="d-flex w-100" id="q1276349:1_answer1_label" data-region="answer-label"><span class="answernumber">b. </span><div class="flex-fill ml-1"><p dir="ltr" style="text-align: left;"><pre><span lang="EN-GB">Struct structName {<br></span><span lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; datatype fieldName1<br></span><span lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; datatype fieldName2<br></span><span lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; datatype fieldName3<br></span><span lang="EN-GB">};</span></pre><br></p></div></div> </div>
<div class="r0"><input type="radio" name="q1276349:1_answer" disabled="disabled" value="2" id="q1276349:1_answer2" aria-labelledby="q1276349:1_answer2_label" /><div class="d-flex w-100" id="q1276349:1_answer2_label" data-region="answer-label"><span class="answernumber">c. </span><div class="flex-fill ml-1"><p dir="ltr" style="text-align: left;"><pre><span lang="EN-GB">Struct structName {<br></span><span lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; datatype fieldName1;<br></span><span lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; datatype fieldName2;<br></span><span lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; datatype fieldName3;<br></span><span lang="EN-GB">}</span></pre></p></div></div> </div>
<div class="r1"><input type="radio" name="q1276349:1_answer" disabled="disabled" value="3" id="q1276349:1_answer3" aria-labelledby="q1276349:1_answer3_label" /><div class="d-flex w-100" id="q1276349:1_answer3_label" data-region="answer-label"><span class="answernumber">d. </span><div class="flex-fill ml-1"><p dir="ltr" style="text-align: left;"><pre><span lang="EN-GB">Struct structName {<br></span><span lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; datatype fieldName1<br></span><span lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; datatype fieldName2<br></span><span lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; datatype fieldName3<br></span><span lang="EN-GB">}</span></pre><br></p></div></div> </div>
</div></div></div><div class="outcome clearfix"><h4 class="accesshide">Feedback</h4><div class="feedback"><div class="specificfeedback">Your answer is correct.</div><div class="rightanswer">The correct answer is: <pre><span lang="EN-GB">Struct structName {<br></span><span lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; datatype fieldName1;<br></span><span lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; datatype fieldName2;<br></span><span lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; datatype fieldName3;<br></span><span lang="EN-GB">};</span></pre></div></div></div></div></div><div id="question-1276349-2" class="que multichoice deferredfeedback correct"><div class="info"><h3 class="no">Question <span class="qno">2</span></h3><div class="state">Correct</div><div class="grade">Mark 10.00 out of 10.00</div><div class="questionflag editable" aria-atomic="true" aria-relevant="text" aria-live="assertive"><input type="hidden" name="q1276349:2_:flagged" value="0" /><input type="checkbox" id="q1276349:2_:flaggedcheckbox" name="q1276349:2_:flagged" value="1" /><input type="hidden" value="qaid=20349367&amp;qubaid=1276349&amp;qid=1084240&amp;slot=2&amp;checksum=40b19d24f0d576c3925925d9b76759e1&amp;sesskey=wjUe2LpBcW&amp;newstate=" class="questionflagpostdata" /><label id="q1276349:2_:flaggedlabel" for="q1276349:2_:flaggedcheckbox"><img src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Funflagged" alt="Not flagged" class="questionflagimage" id="q1276349:2_:flaggedimg" /><span>Flag question</span></label>
</div></div><div class="content"><div class="formulation clearfix"><h4 class="accesshide">Question text</h4><input type="hidden" name="q1276349:2_:sequencecheck" value="3" /><div class="qtext">jika diberikan struct sebagai berikut, bagaimana cara menyimpan nilai 35 pada <strong>id </strong>di struct Union?<pre><p><tt><b>struct Union {</b></tt><b></b></p><p><tt><b>&nbsp; int id;</b></tt><b></b></p><p><tt><b>};</b></tt><b></b></p>
<p><tt><b>struct Employee {</b></tt><b></b></p><p><tt><b>&nbsp; Union aflcio;</b></tt><b></b></p><p><tt><b>&nbsp; long emp_id;</b></tt><b></b></p><p><tt><b>&nbsp; float rate;</b></tt><b></b></p><tt><b><span lang="EN-US">};</span></b></tt><br></pre></div><div class="ablock"><div class="answer"><div class="r0"><input type="radio" name="q1276349:2_answer" disabled="disabled" value="0" id="q1276349:2_answer0" aria-labelledby="q1276349:2_answer0_label" /><div class="d-flex w-100" id="q1276349:2_answer0_label" data-region="answer-label"><span class="answernumber">a. </span><div class="flex-fill ml-1"><p dir="ltr" style="text-align: left;"><p><tt>Employee
joe;</tt></p>
<p><tt>Aflcio.id = 35;</tt></p>
<label>
<span test-id="worksheet_answer_text">
</span></label><br></p></div></div> </div>
<div class="r1"><input type="radio" name="q1276349:2_answer" disabled="disabled" value="1" id="q1276349:2_answer1" aria-labelledby="q1276349:2_answer1_label" /><div class="d-flex w-100" id="q1276349:2_answer1_label" data-region="answer-label"><span class="answernumber">b. </span><div class="flex-fill ml-1"><p>Employee joe;</p>
<p><span>joe.id = 35;</span><strong></strong></p></div></div> </div>
<div class="r0"><input type="radio" name="q1276349:2_answer" disabled="disabled" value="2" id="q1276349:2_answer2" aria-labelledby="q1276349:2_answer2_label" /><div class="d-flex w-100" id="q1276349:2_answer2_label" data-region="answer-label"><span class="answernumber">c. </span><div class="flex-fill ml-1"><p dir="ltr" style="text-align: left;"><p><tt>Employee
joe;</tt></p>
<p><tt>joe.aflcio = 35;</tt><strong></strong></p>
<label>
<span test-id="worksheet_answer_text">
</span></label><br></p></div></div> </div>
<div class="r1 correct"><input type="radio" name="q1276349:2_answer" disabled="disabled" value="3" id="q1276349:2_answer3" aria-labelledby="q1276349:2_answer3_label" checked="checked" /><div class="d-flex w-100" id="q1276349:2_answer3_label" data-region="answer-label"><span class="answernumber">d. </span><div class="flex-fill ml-1"><p dir="ltr" style="text-align: left;"><p><tt>Employee
joe;</tt></p>
<tt><span lang="EN-US">joe.aflcio.</span></tt><span lang="EN-US" style="">id <tt style="">=
35; </tt></span><br></p></div></div> <img class="icon " alt="Correct" title="Correct" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Fgrade_correct" /></div>
</div></div></div><div class="outcome clearfix"><h4 class="accesshide">Feedback</h4><div class="feedback"><div class="specificfeedback">Your answer is correct.</div><div class="rightanswer">The correct answer is: <p dir="ltr" style="text-align: left;"><tt>Employee
joe;</tt><br /><tt><span lang="EN-US">joe.aflcio.</span></tt><span lang="EN-US" style="">id <tt style="">=
35; </tt></span></div></div></div></div></div><div id="question-1276349-3" class="que multichoice deferredfeedback correct"><div class="info"><h3 class="no">Question <span class="qno">3</span></h3><div class="state">Correct</div><div class="grade">Mark 10.00 out of 10.00</div><div class="questionflag editable" aria-atomic="true" aria-relevant="text" aria-live="assertive"><input type="hidden" name="q1276349:3_:flagged" value="0" /><input type="checkbox" id="q1276349:3_:flaggedcheckbox" name="q1276349:3_:flagged" value="1" /><input type="hidden" value="qaid=20349368&amp;qubaid=1276349&amp;qid=1084242&amp;slot=3&amp;checksum=50a9ec2fbc6ede4788c7de4561af9274&amp;sesskey=wjUe2LpBcW&amp;newstate=" class="questionflagpostdata" /><label id="q1276349:3_:flaggedlabel" for="q1276349:3_:flaggedcheckbox"><img src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Funflagged" alt="Not flagged" class="questionflagimage" id="q1276349:3_:flaggedimg" /><span>Flag question</span></label>
</div></div><div class="content"><div class="formulation clearfix"><h4 class="accesshide">Question text</h4><input type="hidden" name="q1276349:3_:sequencecheck" value="3" /><div class="qtext"><p dir="ltr" style="text-align: left;">Operator yang digunakan untuk menghubungkan nama struct dengan nama elemen adalah ...</p></div><div class="ablock"><div class="answer"><div class="r0"><input type="radio" name="q1276349:3_answer" disabled="disabled" value="0" id="q1276349:3_answer0" aria-labelledby="q1276349:3_answer0_label" /><div class="d-flex w-100" id="q1276349:3_answer0_label" data-region="answer-label"><span class="answernumber">a. </span><div class="flex-fill ml-1"><p dir="ltr" style="text-align: left;">&gt;&gt;</p></div></div> </div>
<div class="r1 correct"><input type="radio" name="q1276349:3_answer" disabled="disabled" value="1" id="q1276349:3_answer1" aria-labelledby="q1276349:3_answer1_label" checked="checked" /><div class="d-flex w-100" id="q1276349:3_answer1_label" data-region="answer-label"><span class="answernumber">b. </span><div class="flex-fill ml-1"><p dir="ltr" style="text-align: left;">.</p></div></div> <img class="icon " alt="Correct" title="Correct" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Fgrade_correct" /></div>
<div class="r0"><input type="radio" name="q1276349:3_answer" disabled="disabled" value="2" id="q1276349:3_answer2" aria-labelledby="q1276349:3_answer2_label" /><div class="d-flex w-100" id="q1276349:3_answer2_label" data-region="answer-label"><span class="answernumber">c. </span><div class="flex-fill ml-1"><p dir="ltr" style="text-align: left;">-</p></div></div> </div>
<div class="r1"><input type="radio" name="q1276349:3_answer" disabled="disabled" value="3" id="q1276349:3_answer3" aria-labelledby="q1276349:3_answer3_label" /><div class="d-flex w-100" id="q1276349:3_answer3_label" data-region="answer-label"><span class="answernumber">d. </span><div class="flex-fill ml-1"><p dir="ltr" style="text-align: left;">=</p></div></div> </div>
</div></div></div><div class="outcome clearfix"><h4 class="accesshide">Feedback</h4><div class="feedback"><div class="specificfeedback">Your answer is correct.</div><div class="rightanswer">The correct answer is: <p dir="ltr" style="text-align: left;">.</div></div></div></div></div><div id="question-1276349-4" class="que multichoice deferredfeedback correct"><div class="info"><h3 class="no">Question <span class="qno">4</span></h3><div class="state">Correct</div><div class="grade">Mark 10.00 out of 10.00</div><div class="questionflag editable" aria-atomic="true" aria-relevant="text" aria-live="assertive"><input type="hidden" name="q1276349:4_:flagged" value="0" /><input type="checkbox" id="q1276349:4_:flaggedcheckbox" name="q1276349:4_:flagged" value="1" /><input type="hidden" value="qaid=20349369&amp;qubaid=1276349&amp;qid=1084247&amp;slot=4&amp;checksum=9f7b48ecfb23d44104b883b9ff200575&amp;sesskey=wjUe2LpBcW&amp;newstate=" class="questionflagpostdata" /><label id="q1276349:4_:flaggedlabel" for="q1276349:4_:flaggedcheckbox"><img src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Funflagged" alt="Not flagged" class="questionflagimage" id="q1276349:4_:flaggedimg" /><span>Flag question</span></label>
</div></div><div class="content"><div class="formulation clearfix"><h4 class="accesshide">Question text</h4><input type="hidden" name="q1276349:4_:sequencecheck" value="3" /><div class="qtext"><p dir="ltr" style="text-align: left;">Berapa jumlah data/value paling banyak yang bisa ada di dalam sebuah struct?<br></p></div><div class="ablock"><div class="answer"><div class="r0"><input type="radio" name="q1276349:4_answer" disabled="disabled" value="0" id="q1276349:4_answer0" aria-labelledby="q1276349:4_answer0_label" /><div class="d-flex w-100" id="q1276349:4_answer0_label" data-region="answer-label"><span class="answernumber">a. </span><div class="flex-fill ml-1"><p dir="ltr" style="text-align: left;">10</p></div></div> </div>
<div class="r1 correct"><input type="radio" name="q1276349:4_answer" disabled="disabled" value="1" id="q1276349:4_answer1" aria-labelledby="q1276349:4_answer1_label" checked="checked" /><div class="d-flex w-100" id="q1276349:4_answer1_label" data-region="answer-label"><span class="answernumber">b. </span><div class="flex-fill ml-1">sebanyak kemampuan memory</div></div> <img class="icon " alt="Correct" title="Correct" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Fgrade_correct" /></div>
<div class="r0"><input type="radio" name="q1276349:4_answer" disabled="disabled" value="2" id="q1276349:4_answer2" aria-labelledby="q1276349:4_answer2_label" /><div class="d-flex w-100" id="q1276349:4_answer2_label" data-region="answer-label"><span class="answernumber">c. </span><div class="flex-fill ml-1"><p dir="ltr" style="text-align: left;">3</p></div></div> </div>
<div class="r1"><input type="radio" name="q1276349:4_answer" disabled="disabled" value="3" id="q1276349:4_answer3" aria-labelledby="q1276349:4_answer3_label" /><div class="d-flex w-100" id="q1276349:4_answer3_label" data-region="answer-label"><span class="answernumber">d. </span><div class="flex-fill ml-1"><p dir="ltr" style="text-align: left;">5</p></div></div> </div>
<div class="r0"><input type="radio" name="q1276349:4_answer" disabled="disabled" value="4" id="q1276349:4_answer4" aria-labelledby="q1276349:4_answer4_label" /><div class="d-flex w-100" id="q1276349:4_answer4_label" data-region="answer-label"><span class="answernumber">e. </span><div class="flex-fill ml-1"><p dir="ltr" style="text-align: left;">1</p></div></div> </div>
</div></div></div><div class="outcome clearfix"><h4 class="accesshide">Feedback</h4><div class="feedback"><div class="specificfeedback">Your answer is correct.</div><div class="rightanswer">The correct answer is: sebanyak kemampuan memory</div></div></div></div></div><div id="question-1276349-5" class="que multichoice deferredfeedback correct"><div class="info"><h3 class="no">Question <span class="qno">5</span></h3><div class="state">Correct</div><div class="grade">Mark 10.00 out of 10.00</div><div class="questionflag editable" aria-atomic="true" aria-relevant="text" aria-live="assertive"><input type="hidden" name="q1276349:5_:flagged" value="0" /><input type="checkbox" id="q1276349:5_:flaggedcheckbox" name="q1276349:5_:flagged" value="1" /><input type="hidden" value="qaid=20349370&amp;qubaid=1276349&amp;qid=1084248&amp;slot=5&amp;checksum=95964eac1b24f6c81929b87c11b441cf&amp;sesskey=wjUe2LpBcW&amp;newstate=" class="questionflagpostdata" /><label id="q1276349:5_:flaggedlabel" for="q1276349:5_:flaggedcheckbox"><img src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Funflagged" alt="Not flagged" class="questionflagimage" id="q1276349:5_:flaggedimg" /><span>Flag question</span></label>
</div></div><div class="content"><div class="formulation clearfix"><h4 class="accesshide">Question text</h4><input type="hidden" name="q1276349:5_:sequencecheck" value="3" /><div class="qtext"><p dir="ltr" style="text-align: left;">Apa hal yang mirip antara Struct dan Array?</p></div><div class="ablock"><div class="answer"><div class="r0"><input type="radio" name="q1276349:5_answer" disabled="disabled" value="0" id="q1276349:5_answer0" aria-labelledby="q1276349:5_answer0_label" /><div class="d-flex w-100" id="q1276349:5_answer0_label" data-region="answer-label"><span class="answernumber">a. </span><div class="flex-fill ml-1"><p dir="ltr" style="text-align: left;">Hanya satu tipe data</p></div></div> </div>
<div class="r1"><input type="radio" name="q1276349:5_answer" disabled="disabled" value="1" id="q1276349:5_answer1" aria-labelledby="q1276349:5_answer1_label" /><div class="d-flex w-100" id="q1276349:5_answer1_label" data-region="answer-label"><span class="answernumber">b. </span><div class="flex-fill ml-1"><p dir="ltr" style="text-align: left;">Gaya indexing</p></div></div> </div>
<div class="r0 correct"><input type="radio" name="q1276349:5_answer" disabled="disabled" value="2" id="q1276349:5_answer2" aria-labelledby="q1276349:5_answer2_label" checked="checked" /><div class="d-flex w-100" id="q1276349:5_answer2_label" data-region="answer-label"><span class="answernumber">c. </span><div class="flex-fill ml-1"><p dir="ltr" style="text-align: left;">menyimpan banyak value/data</p></div></div> <img class="icon " alt="Correct" title="Correct" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Fgrade_correct" /></div>
<div class="r1"><input type="radio" name="q1276349:5_answer" disabled="disabled" value="3" id="q1276349:5_answer3" aria-labelledby="q1276349:5_answer3_label" /><div class="d-flex w-100" id="q1276349:5_answer3_label" data-region="answer-label"><span class="answernumber">d. </span><div class="flex-fill ml-1"><p dir="ltr" style="text-align: left;">Syntax deklarasi</p></div></div> </div>
</div></div></div><div class="outcome clearfix"><h4 class="accesshide">Feedback</h4><div class="feedback"><div class="specificfeedback">Your answer is correct.</div><div class="rightanswer">The correct answer is: <p dir="ltr" style="text-align: left;">menyimpan banyak value/data</div></div></div></div></div><div id="question-1276349-6" class="que multichoice deferredfeedback correct"><div class="info"><h3 class="no">Question <span class="qno">6</span></h3><div class="state">Correct</div><div class="grade">Mark 10.00 out of 10.00</div><div class="questionflag editable" aria-atomic="true" aria-relevant="text" aria-live="assertive"><input type="hidden" name="q1276349:6_:flagged" value="0" /><input type="checkbox" id="q1276349:6_:flaggedcheckbox" name="q1276349:6_:flagged" value="1" /><input type="hidden" value="qaid=20349371&amp;qubaid=1276349&amp;qid=1084250&amp;slot=6&amp;checksum=5412db09cc7aff31eb7ad166ee6a4fda&amp;sesskey=wjUe2LpBcW&amp;newstate=" class="questionflagpostdata" /><label id="q1276349:6_:flaggedlabel" for="q1276349:6_:flaggedcheckbox"><img src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Funflagged" alt="Not flagged" class="questionflagimage" id="q1276349:6_:flaggedimg" /><span>Flag question</span></label>
</div></div><div class="content"><div class="formulation clearfix"><h4 class="accesshide">Question text</h4><input type="hidden" name="q1276349:6_:sequencecheck" value="3" /><div class="qtext"><p>Output dari program berikut adalah ...</p>
<pre>#include &lt;iostream&gt;
using namespace std;
struct MyStruct {
int a = 10, b = 20;
int c = a + b;
};
int main(){
MyStruct e;
e.a = 30;
e.b = 40;
cout &lt;&lt; e.c &lt;&lt; endl;
}
</pre></div><div class="ablock"><div class="answer"><div class="r0"><input type="radio" name="q1276349:6_answer" disabled="disabled" value="0" id="q1276349:6_answer0" aria-labelledby="q1276349:6_answer0_label" /><div class="d-flex w-100" id="q1276349:6_answer0_label" data-region="answer-label"><span class="answernumber">a. </span><div class="flex-fill ml-1"><p dir="ltr" style="text-align: left;">50</p></div></div> </div>
<div class="r1"><input type="radio" name="q1276349:6_answer" disabled="disabled" value="1" id="q1276349:6_answer1" aria-labelledby="q1276349:6_answer1_label" /><div class="d-flex w-100" id="q1276349:6_answer1_label" data-region="answer-label"><span class="answernumber">b. </span><div class="flex-fill ml-1"><p dir="ltr" style="text-align: left;">Compile error</p></div></div> </div>
<div class="r0"><input type="radio" name="q1276349:6_answer" disabled="disabled" value="2" id="q1276349:6_answer2" aria-labelledby="q1276349:6_answer2_label" /><div class="d-flex w-100" id="q1276349:6_answer2_label" data-region="answer-label"><span class="answernumber">c. </span><div class="flex-fill ml-1"><p dir="ltr" style="text-align: left;">Null pointer exception</p></div></div> </div>
<div class="r1 correct"><input type="radio" name="q1276349:6_answer" disabled="disabled" value="3" id="q1276349:6_answer3" aria-labelledby="q1276349:6_answer3_label" checked="checked" /><div class="d-flex w-100" id="q1276349:6_answer3_label" data-region="answer-label"><span class="answernumber">d. </span><div class="flex-fill ml-1"><p dir="ltr" style="text-align: left;">30</p></div></div> <img class="icon " alt="Correct" title="Correct" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Fgrade_correct" /></div>
</div></div></div><div class="outcome clearfix"><h4 class="accesshide">Feedback</h4><div class="feedback"><div class="specificfeedback">Your answer is correct.</div><div class="rightanswer">The correct answer is: <p dir="ltr" style="text-align: left;">30</div></div></div></div></div><div id="question-1276349-7" class="que multichoice deferredfeedback correct"><div class="info"><h3 class="no">Question <span class="qno">7</span></h3><div class="state">Correct</div><div class="grade">Mark 10.00 out of 10.00</div><div class="questionflag editable" aria-atomic="true" aria-relevant="text" aria-live="assertive"><input type="hidden" name="q1276349:7_:flagged" value="0" /><input type="checkbox" id="q1276349:7_:flaggedcheckbox" name="q1276349:7_:flagged" value="1" /><input type="hidden" value="qaid=20349372&amp;qubaid=1276349&amp;qid=1084251&amp;slot=7&amp;checksum=dd0ba8d8aa7040bd922eae9e65617b29&amp;sesskey=wjUe2LpBcW&amp;newstate=" class="questionflagpostdata" /><label id="q1276349:7_:flaggedlabel" for="q1276349:7_:flaggedcheckbox"><img src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Funflagged" alt="Not flagged" class="questionflagimage" id="q1276349:7_:flaggedimg" /><span>Flag question</span></label>
</div></div><div class="content"><div class="formulation clearfix"><h4 class="accesshide">Question text</h4><input type="hidden" name="q1276349:7_:sequencecheck" value="3" /><div class="qtext"><p>Output dari program berikut adalah ...</p>
<pre>#include &lt;iostream&gt;
using namespace std;
struct MyStruct {
int a, b;
int c = a + b;
};
int main(){
MyStruct e;
e.a = 30;
e.b = 40;
e.c = 100;
cout &lt;&lt; e.c &lt;&lt; endl;
}
</pre></div><div class="ablock"><div class="answer"><div class="r0"><input type="radio" name="q1276349:7_answer" disabled="disabled" value="0" id="q1276349:7_answer0" aria-labelledby="q1276349:7_answer0_label" /><div class="d-flex w-100" id="q1276349:7_answer0_label" data-region="answer-label"><span class="answernumber">a. </span><div class="flex-fill ml-1"><p dir="ltr" style="text-align: left;">Compile error</p></div></div> </div>
<div class="r1"><input type="radio" name="q1276349:7_answer" disabled="disabled" value="1" id="q1276349:7_answer1" aria-labelledby="q1276349:7_answer1_label" /><div class="d-flex w-100" id="q1276349:7_answer1_label" data-region="answer-label"><span class="answernumber">b. </span><div class="flex-fill ml-1"><p dir="ltr" style="text-align: left;">Null pointer exception</p></div></div> </div>
<div class="r0"><input type="radio" name="q1276349:7_answer" disabled="disabled" value="2" id="q1276349:7_answer2" aria-labelledby="q1276349:7_answer2_label" /><div class="d-flex w-100" id="q1276349:7_answer2_label" data-region="answer-label"><span class="answernumber">c. </span><div class="flex-fill ml-1"><p dir="ltr" style="text-align: left;">70</p></div></div> </div>
<div class="r1 correct"><input type="radio" name="q1276349:7_answer" disabled="disabled" value="3" id="q1276349:7_answer3" aria-labelledby="q1276349:7_answer3_label" checked="checked" /><div class="d-flex w-100" id="q1276349:7_answer3_label" data-region="answer-label"><span class="answernumber">d. </span><div class="flex-fill ml-1"><p dir="ltr" style="text-align: left;">100</p></div></div> <img class="icon " alt="Correct" title="Correct" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Fgrade_correct" /></div>
</div></div></div><div class="outcome clearfix"><h4 class="accesshide">Feedback</h4><div class="feedback"><div class="specificfeedback">Your answer is correct.</div><div class="rightanswer">The correct answer is: <p dir="ltr" style="text-align: left;">100</div></div></div></div></div><div id="question-1276349-8" class="que multichoice deferredfeedback correct"><div class="info"><h3 class="no">Question <span class="qno">8</span></h3><div class="state">Correct</div><div class="grade">Mark 10.00 out of 10.00</div><div class="questionflag editable" aria-atomic="true" aria-relevant="text" aria-live="assertive"><input type="hidden" name="q1276349:8_:flagged" value="0" /><input type="checkbox" id="q1276349:8_:flaggedcheckbox" name="q1276349:8_:flagged" value="1" /><input type="hidden" value="qaid=20349373&amp;qubaid=1276349&amp;qid=1084252&amp;slot=8&amp;checksum=a0851a62e59435b4d59042a5990fad34&amp;sesskey=wjUe2LpBcW&amp;newstate=" class="questionflagpostdata" /><label id="q1276349:8_:flaggedlabel" for="q1276349:8_:flaggedcheckbox"><img src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Funflagged" alt="Not flagged" class="questionflagimage" id="q1276349:8_:flaggedimg" /><span>Flag question</span></label>
</div></div><div class="content"><div class="formulation clearfix"><h4 class="accesshide">Question text</h4><input type="hidden" name="q1276349:8_:sequencecheck" value="3" /><div class="qtext"><p>Diberikan struct sebagai berikut:</p>
<pre>struct Point {
int x, y;
};
</pre>
<p>dan</p>
<pre>Point p1, p2;</pre>
<p>Cara untuk mengecek apakah p1 bernilai sama dengan p2 adalah ...</p></div><div class="ablock"><div class="answer"><div class="r0"><input type="radio" name="q1276349:8_answer" disabled="disabled" value="0" id="q1276349:8_answer0" aria-labelledby="q1276349:8_answer0_label" /><div class="d-flex w-100" id="q1276349:8_answer0_label" data-region="answer-label"><span class="answernumber">a. </span><div class="flex-fill ml-1"><pre>p1 * p2 == 1</pre></div></div> </div>
<div class="r1 correct"><input type="radio" name="q1276349:8_answer" disabled="disabled" value="1" id="q1276349:8_answer1" aria-labelledby="q1276349:8_answer1_label" checked="checked" /><div class="d-flex w-100" id="q1276349:8_answer1_label" data-region="answer-label"><span class="answernumber">b. </span><div class="flex-fill ml-1"><pre>(p1.x == p2.x) &amp;&amp; (p1.y == p2.y)</pre></div></div> <img class="icon " alt="Correct" title="Correct" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Fgrade_correct" /></div>
<div class="r0"><input type="radio" name="q1276349:8_answer" disabled="disabled" value="2" id="q1276349:8_answer2" aria-labelledby="q1276349:8_answer2_label" /><div class="d-flex w-100" id="q1276349:8_answer2_label" data-region="answer-label"><span class="answernumber">c. </span><div class="flex-fill ml-1"><pre>p1 == p2</pre></div></div> </div>
<div class="r1"><input type="radio" name="q1276349:8_answer" disabled="disabled" value="3" id="q1276349:8_answer3" aria-labelledby="q1276349:8_answer3_label" /><div class="d-flex w-100" id="q1276349:8_answer3_label" data-region="answer-label"><span class="answernumber">d. </span><div class="flex-fill ml-1"><pre>p1.isEqual(p2)</pre></div></div> </div>
</div></div></div><div class="outcome clearfix"><h4 class="accesshide">Feedback</h4><div class="feedback"><div class="specificfeedback">Your answer is correct.</div><div class="rightanswer">The correct answer is: <pre>(p1.x == p2.x) &amp;&amp; (p1.y == p2.y)</pre></div></div></div></div></div><div id="question-1276349-9" class="que multichoice deferredfeedback correct"><div class="info"><h3 class="no">Question <span class="qno">9</span></h3><div class="state">Correct</div><div class="grade">Mark 10.00 out of 10.00</div><div class="questionflag editable" aria-atomic="true" aria-relevant="text" aria-live="assertive"><input type="hidden" name="q1276349:9_:flagged" value="0" /><input type="checkbox" id="q1276349:9_:flaggedcheckbox" name="q1276349:9_:flagged" value="1" /><input type="hidden" value="qaid=20349374&amp;qubaid=1276349&amp;qid=1084253&amp;slot=9&amp;checksum=f7896a8e6fb76a4244c635aede6bb955&amp;sesskey=wjUe2LpBcW&amp;newstate=" class="questionflagpostdata" /><label id="q1276349:9_:flaggedlabel" for="q1276349:9_:flaggedcheckbox"><img src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Funflagged" alt="Not flagged" class="questionflagimage" id="q1276349:9_:flaggedimg" /><span>Flag question</span></label>
</div></div><div class="content"><div class="formulation clearfix"><h4 class="accesshide">Question text</h4><input type="hidden" name="q1276349:9_:sequencecheck" value="3" /><div class="qtext"><p>Diberikan struct sebagai berikut:</p>
<pre>struct Line {
double m, c; // represent a line equation: y = mx + c
};
</pre>
<p>dan</p>
<pre>Line l1, l2;</pre>
<p>Cara yang paling tepat untuk mengecek apakah l1 sejajar dengan l2 adalah ...</p></div><div class="ablock"><div class="answer"><div class="r0"><input type="radio" name="q1276349:9_answer" disabled="disabled" value="0" id="q1276349:9_answer0" aria-labelledby="q1276349:9_answer0_label" /><div class="d-flex w-100" id="q1276349:9_answer0_label" data-region="answer-label"><span class="answernumber">a. </span><div class="flex-fill ml-1"><pre>(l1.m * l2.m == -1) &amp;&amp; (l1.c == l2.c)</pre></div></div> </div>
<div class="r1"><input type="radio" name="q1276349:9_answer" disabled="disabled" value="1" id="q1276349:9_answer1" aria-labelledby="q1276349:9_answer1_label" /><div class="d-flex w-100" id="q1276349:9_answer1_label" data-region="answer-label"><span class="answernumber">b. </span><div class="flex-fill ml-1"><pre>l1.c == l2.c</pre></div></div> </div>
<div class="r0"><input type="radio" name="q1276349:9_answer" disabled="disabled" value="2" id="q1276349:9_answer2" aria-labelledby="q1276349:9_answer2_label" /><div class="d-flex w-100" id="q1276349:9_answer2_label" data-region="answer-label"><span class="answernumber">c. </span><div class="flex-fill ml-1"><pre>(l1.m == l2.m) &amp;&amp; (l1.c == l2.c)</pre></div></div> </div>
<div class="r1 correct"><input type="radio" name="q1276349:9_answer" disabled="disabled" value="3" id="q1276349:9_answer3" aria-labelledby="q1276349:9_answer3_label" checked="checked" /><div class="d-flex w-100" id="q1276349:9_answer3_label" data-region="answer-label"><span class="answernumber">d. </span><div class="flex-fill ml-1"><pre>l1.m == l2.m</pre></div></div> <img class="icon " alt="Correct" title="Correct" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Fgrade_correct" /></div>
</div></div></div><div class="outcome clearfix"><h4 class="accesshide">Feedback</h4><div class="feedback"><div class="specificfeedback">Your answer is correct.</div><div class="rightanswer">The correct answer is: <pre>l1.m == l2.m</pre></div></div></div></div></div><div id="question-1276349-10" class="que truefalse deferredfeedback correct"><div class="info"><h3 class="no">Question <span class="qno">10</span></h3><div class="state">Correct</div><div class="grade">Mark 10.00 out of 10.00</div><div class="questionflag editable" aria-atomic="true" aria-relevant="text" aria-live="assertive"><input type="hidden" name="q1276349:10_:flagged" value="0" /><input type="checkbox" id="q1276349:10_:flaggedcheckbox" name="q1276349:10_:flagged" value="1" /><input type="hidden" value="qaid=20349375&amp;qubaid=1276349&amp;qid=1084249&amp;slot=10&amp;checksum=ff5a24bc989c3e1020649e8beec879be&amp;sesskey=wjUe2LpBcW&amp;newstate=" class="questionflagpostdata" /><label id="q1276349:10_:flaggedlabel" for="q1276349:10_:flaggedcheckbox"><img src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Funflagged" alt="Not flagged" class="questionflagimage" id="q1276349:10_:flaggedimg" /><span>Flag question</span></label>
</div></div><div class="content"><div class="formulation clearfix"><h4 class="accesshide">Question text</h4><input type="hidden" name="q1276349:10_:sequencecheck" value="3" /><div class="qtext"><p dir="ltr" style="text-align: left;">Adalah benar bahwa struct bisa berada didalam array. Tapi, apakah bisa array berada di dalam struct?<br></p></div><div class="ablock"><div class="prompt">Select one:</div><div class="answer"><div class="r0 correct"><input type="radio" name="q1276349:10_answer" value="1" id="q1276349:10_answertrue" disabled="disabled" checked="checked" /><label for="q1276349:10_answertrue" class="ml-1">True</label> <img class="icon " alt="Correct" title="Correct" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Fgrade_correct" /></div><div class="r1"><input type="radio" name="q1276349:10_answer" value="0" id="q1276349:10_answerfalse" disabled="disabled" /><label for="q1276349:10_answerfalse" class="ml-1">False</label> </div></div></div></div><div class="outcome clearfix"><h4 class="accesshide">Feedback</h4><div class="feedback"><div class="rightanswer">The correct answer is 'True'.</div></div></div></div></div><input type="hidden" name="sesskey" value="wjUe2LpBcW" /><div class="submitbtns"><input type="submit" class="questionflagsavebutton btn btn-secondary" name="savingflags" value="Save the state of the flags" /></div></div></form><div class="submitbtns"><a class="mod_quiz-next-nav" href="https://elok.ugm.ac.id/mod/quiz/view.php?id=202955">Finish review</a></div></div> </section>
</div>
</div>
</div>
<!-- End Main Regions -->
<a href="#top" class="back-to-top"><i class="fa fa-chevron-circle-up fa-3x"></i><p></p></a>
</div>
<div
id="drawer-6164770634dad616477060aa3b14"
class=" drawer bg-white hidden"
aria-expanded="false"
aria-hidden="true"
data-region="right-hand-drawer"
role="region"
tabindex="0"
>
<div id="message-drawer-6164770634dad616477060aa3b14" class="message-app" data-region="message-drawer" role="region">
<div class="drawer-top p-2 border-bottom bg-secondary text-right">
<a id="message-drawer-close-6164770634dad616477060aa3b14" class="" href="#">
<img class="icon " alt="Toggle messaging drawer" title="Toggle messaging drawer" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Fwindow_close" />
</a>
</div>
<div class="header-container position-relative" data-region="header-container">
<div class="hidden border-bottom px-2 py-3" aria-hidden="true" data-region="view-contacts">
<div class="d-flex align-items-center">
<div class="align-self-stretch">
<a class="h-100 d-flex align-items-center mr-2" href="#" data-route-back role="button">
<span class="dir-rtl-hide"><img class="icon " alt="" aria-hidden="true" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=t%2Fcollapsed_rtl" /></span>
<span class="dir-ltr-hide"><img class="icon " alt="" aria-hidden="true" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=t%2Fcollapsed" /></span> </a>
</div>
<div>
Contacts
</div>
<div class="ml-auto">
<a href="#" data-route="view-search" role="button" aria-label="Search">
<img class="icon " alt="" aria-hidden="true" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=a%2Fsearch" />
</a>
</div>
</div>
</div>
<div
class="hidden bg-white position-relative border-bottom p-1 p-sm-2"
aria-hidden="true"
data-region="view-conversation"
>
<div class="hidden" data-region="header-content"></div>
<div class="hidden" data-region="header-edit-mode">
<div class="d-flex p-2 align-items-center">
Messages selected:
<span class="ml-1" data-region="message-selected-court">1</span>
<button type="button" class="ml-auto close" aria-label="Cancel message selection"
data-action="cancel-edit-mode">
<span aria-hidden="true">&times;</span>
</button>
</div>
</div>
<div data-region="header-placeholder">
<div class="d-flex">
<div
class="ml-2 rounded-circle bg-pulse-grey align-self-center"
style="height: 38px; width: 38px"
>
</div>
<div class="ml-2 " style="flex: 1">
<div
class="mt-1 bg-pulse-grey w-75"
style="height: 16px;"
>
</div>
</div>
<div
class="ml-2 bg-pulse-grey align-self-center"
style="height: 16px; width: 20px"
>
</div>
</div>
</div>
<div
class="hidden position-absolute"
data-region="confirm-dialogue-container"
style="top: 0; bottom: -1px; right: 0; left: 0; background: rgba(0,0,0,0.3);"
></div>
</div> <div class="border-bottom px-2 py-3" aria-hidden="false" data-region="view-overview">
<div class="d-flex align-items-center">
<div class="input-prepend d-flex flex-grow m-0">
<span class="add-on bg-white pr-0">
<img class="icon " alt="" aria-hidden="true" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=a%2Fsearch" />
</span>
<input
type="text"
class="form-control border-left-0 searchinput"
placeholder="Search"
aria-label="Search"
data-region="view-overview-search-input"
>
</div>
<div class="ml-2">
<a
href="#"
data-route="view-settings"
data-route-param="102562"
>
<img class="icon " alt="" aria-hidden="true" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=t%2Fedit" />
</a>
</div>
</div>
<div class="text-right mt-3">
<a href="#" data-route="view-contacts" role="button">
<img class="icon " alt="" aria-hidden="true" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Fuser" />
Contacts
<span class="badge bg-primary ml-2 hidden"
data-region="contact-request-count"
aria-label="There are 0 pending contact requests">
0
</span>
</a>
</div>
</div>
<div class="hidden border-bottom px-2 py-3 view-search" aria-hidden="true" data-region="view-search">
<div class="d-flex align-items-center">
<a
class="mr-2 align-self-stretch d-flex align-items-center"
href="#"
data-route-back
data-action="cancel-search"
>
<span class="dir-rtl-hide"><img class="icon " alt="" aria-hidden="true" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=t%2Fcollapsed_rtl" /></span>
<span class="dir-ltr-hide"><img class="icon " alt="" aria-hidden="true" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=t%2Fcollapsed" /></span> </a>
<div class="input-append m-0 d-flex flex-grow">
<input
type="text"
class="form-control border-right-0 searchinput"
placeholder="Search"
aria-label="Search"
data-region="search-input"
>
<button
class="btn m-0"
type="button"
data-action="search"
>
<span data-region="search-icon-container">
<img class="icon " alt="" aria-hidden="true" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=a%2Fsearch" />
</span>
<span class="hidden" data-region="loading-icon-container">
<span class="loading-icon icon-no-margin"><img class="icon " alt="Loading" title="Loading" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Floading" /></span>
</span>
</button>
</div>
</div>
</div>
<div class="hidden border-bottom px-2 py-3" aria-hidden="true" data-region="view-settings">
<div class="d-flex align-items-center">
<div class="align-self-stretch" >
<a class="h-100 d-flex mr-2 align-items-center" href="#" data-route-back role="button">
<span class="dir-rtl-hide"><img class="icon " alt="" aria-hidden="true" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=t%2Fcollapsed_rtl" /></span>
<span class="dir-ltr-hide"><img class="icon " alt="" aria-hidden="true" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=t%2Fcollapsed" /></span> </a>
</div>
<div>
Settings
</div>
</div>
</div>
</div>
<div class="body-container position-relative" data-region="body-container">
<div
class="hidden"
data-region="view-contact"
aria-hidden="true"
>
<div class="p-2 pt-3" data-region="content-container"></div>
</div> <div class="hidden h-100" aria-hidden="true" data-region="view-contacts" data-user-id="102562">
<div class="d-flex flex-column h-100">
<div class="p-3 border-bottom">
<ul class="nav nav-pills d-flex m-0" role="tablist">
<li class="nav-item w-50 align-self-stretch text-center active">
<a
id="contacts-tab-6164770634dad616477060aa3b14"
class="nav-link"
href="#contacts-tab-panel-6164770634dad616477060aa3b14"
data-toggle="tab"
data-action="show-contacts-section"
role="tab"
aria-controls="contacts-tab-panel-6164770634dad616477060aa3b14"
aria-selected="true"
>
Contacts
</a>
</li>
<li class="nav-item w-50 text-center">
<a
id="requests-tab-6164770634dad616477060aa3b14"
class="nav-link"
href="#requests-tab-panel-6164770634dad616477060aa3b14"
data-toggle="tab"
data-action="show-requests-section"
role="tab"
aria-controls="requests-tab-panel-6164770634dad616477060aa3b14"
aria-selected="false"
>
Requests
<span class="badge bg-primary ml-2 hidden" data-region="contact-request-count">
0
</span>
</a>
</li>
</ul>
</div>
<div class="tab-content d-flex flex-column h-100">
<div
class="tab-pane fade in active h-100"
style="overflow-y: auto"
aria-live="polite"
data-region="lazy-load-list"
data-user-id="102562"
id="contacts-tab-panel-6164770634dad616477060aa3b14"
data-section="contacts"
role="tabpanel"
aria-labelledby="contacts-tab-6164770634dad616477060aa3b14"
>
<div class="onepix">
</div>
<div class="hidden text-center p-2" data-region="empty-message-container">
No contacts
</div>
<div class="hidden list-group" data-region="content-container">
</div>
<div class="list-group" data-region="placeholder-container">
</div>
<div class="w-100 text-center p-3 hidden" data-region="loading-icon-container" >
<span class="loading-icon icon-no-margin"><img class="icon " alt="Loading" title="Loading" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Floading" /></span>
</div>
</div>
<div
class="tab-pane fade h-100"
style="overflow-y: auto"
aria-live="polite"
data-region="lazy-load-list"
data-user-id="102562"
id="requests-tab-panel-6164770634dad616477060aa3b14"
data-section="requests"
role="tabpanel"
aria-labelledby="requests-tab-6164770634dad616477060aa3b14"
>
<div class="onepix">
</div>
<div class="hidden text-center p-2" data-region="empty-message-container">
No contact requests
</div>
<div class="hidden list-group" data-region="content-container">
</div>
<div class="list-group" data-region="placeholder-container">
</div>
<div class="w-100 text-center p-3 hidden" data-region="loading-icon-container" >
<span class="loading-icon icon-no-margin"><img class="icon " alt="Loading" title="Loading" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Floading" /></span>
</div>
</div>
</div>
</div>
</div>
<div
class="view-conversation hidden h-100"
aria-hidden="true"
data-region="view-conversation"
data-user-id="102562"
data-midnight="1633971600"
data-message-poll-min="10"
data-message-poll-max="120"
data-message-poll-after-max="300"
style="overflow-y: auto; overflow-x: hidden"
>
<div class="position-relative h-100" data-region="content-container" style="overflow-y: auto; overflow-x: hidden">
<div class="content-message-container hidden h-100 px-2 pt-0" data-region="content-message-container" role="log" style="overflow-y: auto; overflow-x: hidden">
<div class="py-3 sticky-top z-index-1 border-bottom text-center hidden" data-region="contact-request-sent-message-container">
<p class="m-0">Contact request sent</p>
<p class="font-italic font-weight-light" data-region="text"></p>
</div>
<div class="p-3 text-center hidden" data-region="self-conversation-message-container">
<p class="m-0">Personal space</p>
<p class="font-italic font-weight-light" data-region="text">Save draft messages, links, notes etc. to access later.</p>
</div>
<div class="hidden text-center p-3" data-region="more-messages-loading-icon-container"><span class="loading-icon icon-no-margin"><img class="icon " alt="Loading" title="Loading" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Floading" /></span>
</div>
</div>
<div class="p-4 w-100 h-100 hidden position-absolute" data-region="confirm-dialogue-container" style="top: 0; background: rgba(0,0,0,0.3);">
<div class="p-3 bg-white" data-region="confirm-dialogue" role="alert">
<p class="text-muted" data-region="dialogue-text"></p>
<div class="mb-2 custom-control custom-checkbox hidden" data-region="delete-messages-for-all-users-toggle-container">
<input type="checkbox" class="custom-control-input" id="delete-messages-for-all-users" data-region="delete-messages-for-all-users-toggle">
<label class="custom-control-label text-muted" for="delete-messages-for-all-users">
Delete for me and for everyone else
</label>
</div>
<button type="button" class="btn btn-primary btn-block hidden" data-action="confirm-block">
<span data-region="dialogue-button-text">Block</span>
<span class="hidden" data-region="loading-icon-container"><span class="loading-icon icon-no-margin"><img class="icon " alt="Loading" title="Loading" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Floading" /></span>
</span>
</button>
<button type="button" class="btn btn-primary btn-block hidden" data-action="confirm-unblock">
<span data-region="dialogue-button-text">Unblock</span>
<span class="hidden" data-region="loading-icon-container"><span class="loading-icon icon-no-margin"><img class="icon " alt="Loading" title="Loading" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Floading" /></span>
</span>
</button>
<button type="button" class="btn btn-primary btn-block hidden" data-action="confirm-remove-contact">
<span data-region="dialogue-button-text">Remove</span>
<span class="hidden" data-region="loading-icon-container"><span class="loading-icon icon-no-margin"><img class="icon " alt="Loading" title="Loading" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Floading" /></span>
</span>
</button>
<button type="button" class="btn btn-primary btn-block hidden" data-action="confirm-add-contact">
<span data-region="dialogue-button-text">Add</span>
<span class="hidden" data-region="loading-icon-container"><span class="loading-icon icon-no-margin"><img class="icon " alt="Loading" title="Loading" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Floading" /></span>
</span>
</button>
<button type="button" class="btn btn-primary btn-block hidden" data-action="confirm-delete-selected-messages">
<span data-region="dialogue-button-text">Delete</span>
<span class="hidden" data-region="loading-icon-container"><span class="loading-icon icon-no-margin"><img class="icon " alt="Loading" title="Loading" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Floading" /></span>
</span>
</button>
<button type="button" class="btn btn-primary btn-block hidden" data-action="confirm-delete-conversation">
<span data-region="dialogue-button-text">Delete</span>
<span class="hidden" data-region="loading-icon-container"><span class="loading-icon icon-no-margin"><img class="icon " alt="Loading" title="Loading" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Floading" /></span>
</span>
</button>
<button type="button" class="btn btn-primary btn-block hidden" data-action="request-add-contact">
<span data-region="dialogue-button-text">Send contact request</span>
<span class="hidden" data-region="loading-icon-container"><span class="loading-icon icon-no-margin"><img class="icon " alt="Loading" title="Loading" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Floading" /></span>
</span>
</button>
<button type="button" class="btn btn-primary btn-block hidden" data-action="accept-contact-request">
<span data-region="dialogue-button-text">Accept and add to contacts</span>
<span class="hidden" data-region="loading-icon-container"><span class="loading-icon icon-no-margin"><img class="icon " alt="Loading" title="Loading" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Floading" /></span>
</span>
</button>
<button type="button" class="btn btn-secondary btn-block hidden" data-action="decline-contact-request">
<span data-region="dialogue-button-text">Decline</span>
<span class="hidden" data-region="loading-icon-container"><span class="loading-icon icon-no-margin"><img class="icon " alt="Loading" title="Loading" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Floading" /></span>
</span>
</button>
<button type="button" class="btn btn-primary btn-block" data-action="okay-confirm">OK</button>
<button type="button" class="btn btn-secondary btn-block" data-action="cancel-confirm">Cancel</button>
</div>
</div>
<div class="px-2 pb-2 pt-0" data-region="content-placeholder">
<div class="h-100 d-flex flex-column">
<div
class="px-2 pb-2 pt-0 bg-light h-100"
style="overflow-y: auto"
>
<div class="mt-4">
<div class="mb-4">
<div class="mx-auto bg-white" style="height: 25px; width: 100px"></div>
</div>
<div class="d-flex flex-column p-2 bg-white rounded mb-2">
<div class="d-flex align-items-center mb-2">
<div class="mr-2">
<div class="rounded-circle bg-pulse-grey" style="height: 35px; width: 35px"></div>
</div>
<div class="mr-4 w-75 bg-pulse-grey" style="height: 16px"></div>
<div class="ml-auto bg-pulse-grey" style="width: 35px; height: 16px"></div>
</div>
<div class="bg-pulse-grey w-100" style="height: 16px"></div>
<div class="bg-pulse-grey w-100 mt-2" style="height: 16px"></div>
<div class="bg-pulse-grey w-100 mt-2" style="height: 16px"></div>
<div class="bg-pulse-grey w-100 mt-2" style="height: 16px"></div>
<div class="bg-pulse-grey w-75 mt-2" style="height: 16px"></div>
</div>
<div class="d-flex flex-column p-2 bg-white rounded mb-2">
<div class="d-flex align-items-center mb-2">
<div class="mr-2">
<div class="rounded-circle bg-pulse-grey" style="height: 35px; width: 35px"></div>
</div>
<div class="mr-4 w-75 bg-pulse-grey" style="height: 16px"></div>
<div class="ml-auto bg-pulse-grey" style="width: 35px; height: 16px"></div>
</div>
<div class="bg-pulse-grey w-100" style="height: 16px"></div>
<div class="bg-pulse-grey w-100 mt-2" style="height: 16px"></div>
<div class="bg-pulse-grey w-100 mt-2" style="height: 16px"></div>
<div class="bg-pulse-grey w-100 mt-2" style="height: 16px"></div>
<div class="bg-pulse-grey w-75 mt-2" style="height: 16px"></div>
</div>
<div class="d-flex flex-column p-2 bg-white rounded mb-2">
<div class="d-flex align-items-center mb-2">
<div class="mr-2">
<div class="rounded-circle bg-pulse-grey" style="height: 35px; width: 35px"></div>
</div>
<div class="mr-4 w-75 bg-pulse-grey" style="height: 16px"></div>
<div class="ml-auto bg-pulse-grey" style="width: 35px; height: 16px"></div>
</div>
<div class="bg-pulse-grey w-100" style="height: 16px"></div>
<div class="bg-pulse-grey w-100 mt-2" style="height: 16px"></div>
<div class="bg-pulse-grey w-100 mt-2" style="height: 16px"></div>
<div class="bg-pulse-grey w-100 mt-2" style="height: 16px"></div>
<div class="bg-pulse-grey w-75 mt-2" style="height: 16px"></div>
</div>
</div> <div class="mt-4">
<div class="mb-4">
<div class="mx-auto bg-white" style="height: 25px; width: 100px"></div>
</div>
<div class="d-flex flex-column p-2 bg-white rounded mb-2">
<div class="d-flex align-items-center mb-2">
<div class="mr-2">
<div class="rounded-circle bg-pulse-grey" style="height: 35px; width: 35px"></div>
</div>
<div class="mr-4 w-75 bg-pulse-grey" style="height: 16px"></div>
<div class="ml-auto bg-pulse-grey" style="width: 35px; height: 16px"></div>
</div>
<div class="bg-pulse-grey w-100" style="height: 16px"></div>
<div class="bg-pulse-grey w-100 mt-2" style="height: 16px"></div>
<div class="bg-pulse-grey w-100 mt-2" style="height: 16px"></div>
<div class="bg-pulse-grey w-100 mt-2" style="height: 16px"></div>
<div class="bg-pulse-grey w-75 mt-2" style="height: 16px"></div>
</div>
<div class="d-flex flex-column p-2 bg-white rounded mb-2">
<div class="d-flex align-items-center mb-2">
<div class="mr-2">
<div class="rounded-circle bg-pulse-grey" style="height: 35px; width: 35px"></div>
</div>
<div class="mr-4 w-75 bg-pulse-grey" style="height: 16px"></div>
<div class="ml-auto bg-pulse-grey" style="width: 35px; height: 16px"></div>
</div>
<div class="bg-pulse-grey w-100" style="height: 16px"></div>
<div class="bg-pulse-grey w-100 mt-2" style="height: 16px"></div>
<div class="bg-pulse-grey w-100 mt-2" style="height: 16px"></div>
<div class="bg-pulse-grey w-100 mt-2" style="height: 16px"></div>
<div class="bg-pulse-grey w-75 mt-2" style="height: 16px"></div>
</div>
<div class="d-flex flex-column p-2 bg-white rounded mb-2">
<div class="d-flex align-items-center mb-2">
<div class="mr-2">
<div class="rounded-circle bg-pulse-grey" style="height: 35px; width: 35px"></div>
</div>
<div class="mr-4 w-75 bg-pulse-grey" style="height: 16px"></div>
<div class="ml-auto bg-pulse-grey" style="width: 35px; height: 16px"></div>
</div>
<div class="bg-pulse-grey w-100" style="height: 16px"></div>
<div class="bg-pulse-grey w-100 mt-2" style="height: 16px"></div>
<div class="bg-pulse-grey w-100 mt-2" style="height: 16px"></div>
<div class="bg-pulse-grey w-100 mt-2" style="height: 16px"></div>
<div class="bg-pulse-grey w-75 mt-2" style="height: 16px"></div>
</div>
</div> <div class="mt-4">
<div class="mb-4">
<div class="mx-auto bg-white" style="height: 25px; width: 100px"></div>
</div>
<div class="d-flex flex-column p-2 bg-white rounded mb-2">
<div class="d-flex align-items-center mb-2">
<div class="mr-2">
<div class="rounded-circle bg-pulse-grey" style="height: 35px; width: 35px"></div>
</div>
<div class="mr-4 w-75 bg-pulse-grey" style="height: 16px"></div>
<div class="ml-auto bg-pulse-grey" style="width: 35px; height: 16px"></div>
</div>
<div class="bg-pulse-grey w-100" style="height: 16px"></div>
<div class="bg-pulse-grey w-100 mt-2" style="height: 16px"></div>
<div class="bg-pulse-grey w-100 mt-2" style="height: 16px"></div>
<div class="bg-pulse-grey w-100 mt-2" style="height: 16px"></div>
<div class="bg-pulse-grey w-75 mt-2" style="height: 16px"></div>
</div>
<div class="d-flex flex-column p-2 bg-white rounded mb-2">
<div class="d-flex align-items-center mb-2">
<div class="mr-2">
<div class="rounded-circle bg-pulse-grey" style="height: 35px; width: 35px"></div>
</div>
<div class="mr-4 w-75 bg-pulse-grey" style="height: 16px"></div>
<div class="ml-auto bg-pulse-grey" style="width: 35px; height: 16px"></div>
</div>
<div class="bg-pulse-grey w-100" style="height: 16px"></div>
<div class="bg-pulse-grey w-100 mt-2" style="height: 16px"></div>
<div class="bg-pulse-grey w-100 mt-2" style="height: 16px"></div>
<div class="bg-pulse-grey w-100 mt-2" style="height: 16px"></div>
<div class="bg-pulse-grey w-75 mt-2" style="height: 16px"></div>
</div>
<div class="d-flex flex-column p-2 bg-white rounded mb-2">
<div class="d-flex align-items-center mb-2">
<div class="mr-2">
<div class="rounded-circle bg-pulse-grey" style="height: 35px; width: 35px"></div>
</div>
<div class="mr-4 w-75 bg-pulse-grey" style="height: 16px"></div>
<div class="ml-auto bg-pulse-grey" style="width: 35px; height: 16px"></div>
</div>
<div class="bg-pulse-grey w-100" style="height: 16px"></div>
<div class="bg-pulse-grey w-100 mt-2" style="height: 16px"></div>
<div class="bg-pulse-grey w-100 mt-2" style="height: 16px"></div>
<div class="bg-pulse-grey w-100 mt-2" style="height: 16px"></div>
<div class="bg-pulse-grey w-75 mt-2" style="height: 16px"></div>
</div>
</div> <div class="mt-4">
<div class="mb-4">
<div class="mx-auto bg-white" style="height: 25px; width: 100px"></div>
</div>
<div class="d-flex flex-column p-2 bg-white rounded mb-2">
<div class="d-flex align-items-center mb-2">
<div class="mr-2">
<div class="rounded-circle bg-pulse-grey" style="height: 35px; width: 35px"></div>
</div>
<div class="mr-4 w-75 bg-pulse-grey" style="height: 16px"></div>
<div class="ml-auto bg-pulse-grey" style="width: 35px; height: 16px"></div>
</div>
<div class="bg-pulse-grey w-100" style="height: 16px"></div>
<div class="bg-pulse-grey w-100 mt-2" style="height: 16px"></div>
<div class="bg-pulse-grey w-100 mt-2" style="height: 16px"></div>
<div class="bg-pulse-grey w-100 mt-2" style="height: 16px"></div>
<div class="bg-pulse-grey w-75 mt-2" style="height: 16px"></div>
</div>
<div class="d-flex flex-column p-2 bg-white rounded mb-2">
<div class="d-flex align-items-center mb-2">
<div class="mr-2">
<div class="rounded-circle bg-pulse-grey" style="height: 35px; width: 35px"></div>
</div>
<div class="mr-4 w-75 bg-pulse-grey" style="height: 16px"></div>
<div class="ml-auto bg-pulse-grey" style="width: 35px; height: 16px"></div>
</div>
<div class="bg-pulse-grey w-100" style="height: 16px"></div>
<div class="bg-pulse-grey w-100 mt-2" style="height: 16px"></div>
<div class="bg-pulse-grey w-100 mt-2" style="height: 16px"></div>
<div class="bg-pulse-grey w-100 mt-2" style="height: 16px"></div>
<div class="bg-pulse-grey w-75 mt-2" style="height: 16px"></div>
</div>
<div class="d-flex flex-column p-2 bg-white rounded mb-2">
<div class="d-flex align-items-center mb-2">
<div class="mr-2">
<div class="rounded-circle bg-pulse-grey" style="height: 35px; width: 35px"></div>
</div>
<div class="mr-4 w-75 bg-pulse-grey" style="height: 16px"></div>
<div class="ml-auto bg-pulse-grey" style="width: 35px; height: 16px"></div>
</div>
<div class="bg-pulse-grey w-100" style="height: 16px"></div>
<div class="bg-pulse-grey w-100 mt-2" style="height: 16px"></div>
<div class="bg-pulse-grey w-100 mt-2" style="height: 16px"></div>
<div class="bg-pulse-grey w-100 mt-2" style="height: 16px"></div>
<div class="bg-pulse-grey w-75 mt-2" style="height: 16px"></div>
</div>
</div> <div class="mt-4">
<div class="mb-4">
<div class="mx-auto bg-white" style="height: 25px; width: 100px"></div>
</div>
<div class="d-flex flex-column p-2 bg-white rounded mb-2">
<div class="d-flex align-items-center mb-2">
<div class="mr-2">
<div class="rounded-circle bg-pulse-grey" style="height: 35px; width: 35px"></div>
</div>
<div class="mr-4 w-75 bg-pulse-grey" style="height: 16px"></div>
<div class="ml-auto bg-pulse-grey" style="width: 35px; height: 16px"></div>
</div>
<div class="bg-pulse-grey w-100" style="height: 16px"></div>
<div class="bg-pulse-grey w-100 mt-2" style="height: 16px"></div>
<div class="bg-pulse-grey w-100 mt-2" style="height: 16px"></div>
<div class="bg-pulse-grey w-100 mt-2" style="height: 16px"></div>
<div class="bg-pulse-grey w-75 mt-2" style="height: 16px"></div>
</div>
<div class="d-flex flex-column p-2 bg-white rounded mb-2">
<div class="d-flex align-items-center mb-2">
<div class="mr-2">
<div class="rounded-circle bg-pulse-grey" style="height: 35px; width: 35px"></div>
</div>
<div class="mr-4 w-75 bg-pulse-grey" style="height: 16px"></div>
<div class="ml-auto bg-pulse-grey" style="width: 35px; height: 16px"></div>
</div>
<div class="bg-pulse-grey w-100" style="height: 16px"></div>
<div class="bg-pulse-grey w-100 mt-2" style="height: 16px"></div>
<div class="bg-pulse-grey w-100 mt-2" style="height: 16px"></div>
<div class="bg-pulse-grey w-100 mt-2" style="height: 16px"></div>
<div class="bg-pulse-grey w-75 mt-2" style="height: 16px"></div>
</div>
<div class="d-flex flex-column p-2 bg-white rounded mb-2">
<div class="d-flex align-items-center mb-2">
<div class="mr-2">
<div class="rounded-circle bg-pulse-grey" style="height: 35px; width: 35px"></div>
</div>
<div class="mr-4 w-75 bg-pulse-grey" style="height: 16px"></div>
<div class="ml-auto bg-pulse-grey" style="width: 35px; height: 16px"></div>
</div>
<div class="bg-pulse-grey w-100" style="height: 16px"></div>
<div class="bg-pulse-grey w-100 mt-2" style="height: 16px"></div>
<div class="bg-pulse-grey w-100 mt-2" style="height: 16px"></div>
<div class="bg-pulse-grey w-100 mt-2" style="height: 16px"></div>
<div class="bg-pulse-grey w-75 mt-2" style="height: 16px"></div>
</div>
</div> </div>
</div> </div>
</div>
</div>
<div
class="hidden"
aria-hidden="true"
data-region="view-group-info"
>
<div
class="pt-3 h-100 d-flex flex-column"
data-region="group-info-content-container"
style="overflow-y: auto"
></div>
</div> <div class="h-100 view-overview-body" aria-hidden="false" data-region="view-overview" data-user-id="102562">
<div id="message-drawer-view-overview-container-6164770634dad616477060aa3b14" class="d-flex flex-column h-100" style="overflow-y: auto">
<div
class="accordion-group section border-0 "
data-region="view-overview-favourites"
>
<div id="view-overview-favourites-toggle" class="accordion-heading" data-region="toggle">
<button
class="btn btn-link w-100 text-left p-2 m-0 d-flex align-items-center overview-section-toggle collapsed"
data-toggle="collapse"
data-parent="#message-drawer-view-overview-container"
data-target="#view-overview-favourites-target"
aria-expanded="false"
aria-controls="view-overview-favourites-target"
>
<span class="collapsed-icon-container">
<img class="icon " alt="" aria-hidden="true" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=t%2Fcollapsed" />
</span>
<span class="expanded-icon-container">
<img class="icon " alt="" aria-hidden="true" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=t%2Fexpanded" />
</span>
<strong>Starred</strong>
<small class="hidden ml-1" data-region="section-total-count-container">
(<span data-region="section-total-count"></span>)
</small>
<span class="hidden ml-2" data-region="loading-icon-container">
<span class="loading-icon icon-no-margin"><img class="icon " alt="Loading" title="Loading" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Floading" /></span>
</span>
<span class="hidden badge badge-pill badge-primary ml-auto bg-primary" data-region="section-unread-count">
</span>
</button>
</div>
<div
class=" accordion-body collapse border-bottom "
style="overflow-y: auto"
aria-live="polite"
data-region="lazy-load-list"
data-user-id="102562"
id="view-overview-favourites-target"
aria-labelledby="view-overview-favourites-toggle"
data-parent="#message-drawer-view-overview-container"
>
<div class="onepix">
</div>
<div class="hidden text-center p-2" data-region="empty-message-container">
<p class="text-muted mt-2">No starred conversations</p>
</div>
<div class="hidden list-group" data-region="content-container">
</div>
<div class="list-group" data-region="placeholder-container">
<div class="text-center py-2"><span class="loading-icon icon-no-margin"><img class="icon " alt="Loading" title="Loading" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Floading" /></span>
</div>
</div>
<div class="w-100 text-center p-3 hidden" data-region="loading-icon-container" >
<span class="loading-icon icon-no-margin"><img class="icon " alt="Loading" title="Loading" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Floading" /></span>
</div>
</div>
</div>
<div
class="accordion-group section border-0 "
data-region="view-overview-group-messages"
>
<div id="view-overview-group-messages-toggle" class="accordion-heading" data-region="toggle">
<button
class="btn btn-link w-100 text-left p-2 m-0 d-flex align-items-center overview-section-toggle collapsed"
data-toggle="collapse"
data-parent="#message-drawer-view-overview-container"
data-target="#view-overview-group-messages-target"
aria-expanded="false"
aria-controls="view-overview-group-messages-target"
>
<span class="collapsed-icon-container">
<img class="icon " alt="" aria-hidden="true" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=t%2Fcollapsed" />
</span>
<span class="expanded-icon-container">
<img class="icon " alt="" aria-hidden="true" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=t%2Fexpanded" />
</span>
<strong>Group</strong>
<small class="hidden ml-1" data-region="section-total-count-container">
(<span data-region="section-total-count"></span>)
</small>
<span class="hidden ml-2" data-region="loading-icon-container">
<span class="loading-icon icon-no-margin"><img class="icon " alt="Loading" title="Loading" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Floading" /></span>
</span>
<span class="hidden badge badge-pill badge-primary ml-auto bg-primary" data-region="section-unread-count">
</span>
</button>
</div>
<div
class=" accordion-body collapse border-bottom "
style="overflow-y: auto"
aria-live="polite"
data-region="lazy-load-list"
data-user-id="102562"
id="view-overview-group-messages-target"
aria-labelledby="view-overview-group-messages-toggle"
data-parent="#message-drawer-view-overview-container"
>
<div class="onepix">
</div>
<div class="hidden text-center p-2" data-region="empty-message-container">
<p class="text-muted mt-2">No group conversations</p>
</div>
<div class="hidden list-group" data-region="content-container">
</div>
<div class="list-group" data-region="placeholder-container">
<div class="text-center py-2"><span class="loading-icon icon-no-margin"><img class="icon " alt="Loading" title="Loading" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Floading" /></span>
</div>
</div>
<div class="w-100 text-center p-3 hidden" data-region="loading-icon-container" >
<span class="loading-icon icon-no-margin"><img class="icon " alt="Loading" title="Loading" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Floading" /></span>
</div>
</div>
</div>
<div
class="accordion-group section border-0 "
data-region="view-overview-messages"
>
<div id="view-overview-messages-toggle" class="accordion-heading" data-region="toggle">
<button
class="btn btn-link w-100 text-left p-2 m-0 d-flex align-items-center overview-section-toggle collapsed"
data-toggle="collapse"
data-parent="#message-drawer-view-overview-container"
data-target="#view-overview-messages-target"
aria-expanded="false"
aria-controls="view-overview-messages-target"
>
<span class="collapsed-icon-container">
<img class="icon " alt="" aria-hidden="true" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=t%2Fcollapsed" />
</span>
<span class="expanded-icon-container">
<img class="icon " alt="" aria-hidden="true" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=t%2Fexpanded" />
</span>
<strong>Private</strong>
<small class="hidden ml-1" data-region="section-total-count-container">
(<span data-region="section-total-count"></span>)
</small>
<span class="hidden ml-2" data-region="loading-icon-container">
<span class="loading-icon icon-no-margin"><img class="icon " alt="Loading" title="Loading" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Floading" /></span>
</span>
<span class="hidden badge badge-pill badge-primary ml-auto bg-primary" data-region="section-unread-count">
</span>
</button>
</div>
<div
class=" accordion-body collapse border-bottom "
style="overflow-y: auto"
aria-live="polite"
data-region="lazy-load-list"
data-user-id="102562"
id="view-overview-messages-target"
aria-labelledby="view-overview-messages-toggle"
data-parent="#message-drawer-view-overview-container"
>
<div class="onepix">
</div>
<div class="hidden text-center p-2" data-region="empty-message-container">
<p class="text-muted mt-2">No private conversations</p>
</div>
<div class="hidden list-group" data-region="content-container">
</div>
<div class="list-group" data-region="placeholder-container">
<div class="text-center py-2"><span class="loading-icon icon-no-margin"><img class="icon " alt="Loading" title="Loading" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Floading" /></span>
</div>
</div>
<div class="w-100 text-center p-3 hidden" data-region="loading-icon-container" >
<span class="loading-icon icon-no-margin"><img class="icon " alt="Loading" title="Loading" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Floading" /></span>
</div>
</div>
</div>
</div>
</div>
<div
data-region="view-search"
aria-hidden="true"
class="h-100 hidden"
data-user-id="102562"
data-users-offset="0"
data-messages-offset="0"
style="overflow-y: auto"
>
<div class="hidden" data-region="search-results-container" style="overflow-y: auto">
<div class="d-flex flex-column">
<div class="mb-3 bg-white" data-region="all-contacts-container">
<div data-region="contacts-container" class="pt-2">
<h4 class="h6 px-2">Contacts</h4>
<div class="list-group" data-region="list"></div>
</div>
<div data-region="non-contacts-container" class="pt-2 border-top">
<h4 class="h6 px-2">Non-contacts</h4>
<div class="list-group" data-region="list"></div>
</div>
<div class="text-right">
<button class="btn btn-link text-primary" data-action="load-more-users">
<span data-region="button-text">Load more</span>
<span data-region="loading-icon-container" class="hidden"><span class="loading-icon icon-no-margin"><img class="icon " alt="Loading" title="Loading" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Floading" /></span>
</span>
</button>
</div>
</div>
<div class="bg-white" data-region="messages-container">
<h4 class="h6 px-2 pt-2">Messages</h4>
<div class="list-group" data-region="list"></div>
<div class="text-right">
<button class="btn btn-link text-primary" data-action="load-more-messages">
<span data-region="button-text">Load more</span>
<span data-region="loading-icon-container" class="hidden"><span class="loading-icon icon-no-margin"><img class="icon " alt="Loading" title="Loading" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Floading" /></span>
</span>
</button>
</div>
</div>
<p class="hidden p-3 text-center" data-region="no-results-container">No results</p>
</div> </div>
<div class="hidden" data-region="loading-placeholder">
<div class="text-center pt-3 icon-size-4"><span class="loading-icon icon-no-margin"><img class="icon " alt="Loading" title="Loading" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Floading" /></span>
</div>
</div>
<div class="p-3 text-center" data-region="empty-message-container">
<p>Search people and messages</p>
</div>
</div>
<div class="h-100 hidden bg-white" aria-hidden="true" data-region="view-settings">
<div class="hidden" data-region="content-container">
<div data-region="settings" class="p-3">
<h3 class="h6 font-weight-bold">Privacy</h3>
<p>You can restrict who can message you</p>
<div data-preference="blocknoncontacts" class="mb-3">
<fieldset>
<legend class="sr-only">Accept messages from:</legend>
<div class="custom-control custom-radio mb-2">
<input
type="radio"
name="message_blocknoncontacts"
class="custom-control-input"
id="block-noncontacts-6164770634dad616477060aa3b14-1"
value="1"
>
<label class="custom-control-label ml-2" for="block-noncontacts-6164770634dad616477060aa3b14-1">
My contacts only
</label>
</div>
<div class="custom-control custom-radio mb-2">
<input
type="radio"
name="message_blocknoncontacts"
class="custom-control-input"
id="block-noncontacts-6164770634dad616477060aa3b14-0"
value="0"
>
<label class="custom-control-label ml-2" for="block-noncontacts-6164770634dad616477060aa3b14-0">
My contacts and anyone in my courses
</label>
</div>
</fieldset>
</div>
<div class="hidden" data-region="notification-preference-container">
<h3 class="mb-2 mt-4 h6 font-weight-bold">Notification preferences</h3>
</div>
<h3 class="mb-2 mt-4 h6 font-weight-bold">General</h3>
<div data-preference="entertosend">
<div class="custom-control custom-switch">
<input type="checkbox" class="custom-control-input" id="enter-to-send-6164770634dad616477060aa3b14" >
<label class="custom-control-label" for="enter-to-send-6164770634dad616477060aa3b14">
Use enter to send
</label>
</div>
</div>
</div>
</div>
<div data-region="placeholder-container">
<div class="d-flex flex-column p-3">
<div class="w-25 bg-pulse-grey h6" style="height: 18px"></div>
<div class="w-75 bg-pulse-grey mb-4" style="height: 18px"></div>
<div class="mb-3">
<div class="w-100 d-flex mb-3">
<div class="bg-pulse-grey rounded-circle" style="width: 18px; height: 18px"></div>
<div class="bg-pulse-grey w-50 ml-2" style="height: 18px"></div>
</div>
<div class="w-100 d-flex mb-3">
<div class="bg-pulse-grey rounded-circle" style="width: 18px; height: 18px"></div>
<div class="bg-pulse-grey w-50 ml-2" style="height: 18px"></div>
</div>
<div class="w-100 d-flex mb-3">
<div class="bg-pulse-grey rounded-circle" style="width: 18px; height: 18px"></div>
<div class="bg-pulse-grey w-50 ml-2" style="height: 18px"></div>
</div>
</div>
<div class="w-50 bg-pulse-grey h6 mb-3 mt-2" style="height: 18px"></div>
<div class="mb-4">
<div class="w-100 d-flex mb-2 align-items-center">
<div class="bg-pulse-grey w-25" style="width: 18px; height: 27px"></div>
<div class="bg-pulse-grey w-25 ml-2" style="height: 18px"></div>
</div>
<div class="w-100 d-flex mb-2 align-items-center">
<div class="bg-pulse-grey w-25" style="width: 18px; height: 27px"></div>
<div class="bg-pulse-grey w-25 ml-2" style="height: 18px"></div>
</div>
</div>
<div class="w-25 bg-pulse-grey h6 mb-3 mt-2" style="height: 18px"></div>
<div class="mb-3">
<div class="w-100 d-flex mb-2 align-items-center">
<div class="bg-pulse-grey w-25" style="width: 18px; height: 27px"></div>
<div class="bg-pulse-grey w-50 ml-2" style="height: 18px"></div>
</div>
</div>
</div> </div>
</div> </div>
<div class="footer-container position-relative" data-region="footer-container">
<div
class="hidden border-top bg-white position-relative"
aria-hidden="true"
data-region="view-conversation"
data-enter-to-send="0"
>
<div class="hidden p-sm-2" data-region="content-messages-footer-container">
<div
class="emoji-auto-complete-container w-100 hidden"
data-region="emoji-auto-complete-container"
aria-live="polite"
aria-hidden="true"
>
</div>
<div class="d-flex mt-sm-1">
<textarea
dir="auto"
data-region="send-message-txt"
class="form-control bg-light"
rows="3"
data-auto-rows
data-min-rows="3"
data-max-rows="5"
aria-label="Write a message..."
placeholder="Write a message..."
style="resize: none"
maxlength="4096"
></textarea>
<div class="position-relative d-flex flex-column">
<div
data-region="emoji-picker-container"
class="emoji-picker-container hidden"
aria-hidden="true"
>
<div
data-region="emoji-picker"
class="card shadow emoji-picker"
>
<div class="card-header px-1 pt-1 pb-0 d-flex justify-content-between flex-shrink-0">
<button
class="btn btn-outline-secondary icon-no-margin category-button selected"
data-action="show-category"
data-category="Recent"
title="Recent"
>
<img class="icon " alt="" aria-hidden="true" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Femojicategoryrecent" />
</button>
<button
class="btn btn-outline-secondary icon-no-margin category-button"
data-action="show-category"
data-category="Smileys & People"
title="Smileys & people"
>
<img class="icon " alt="" aria-hidden="true" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Femojicategorysmileyspeople" />
</button>
<button
class="btn btn-outline-secondary icon-no-margin category-button"
data-action="show-category"
data-category="Animals & Nature"
title="Animals & nature"
>
<img class="icon " alt="" aria-hidden="true" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Femojicategoryanimalsnature" />
</button>
<button
class="btn btn-outline-secondary icon-no-margin category-button"
data-action="show-category"
data-category="Food & Drink"
title="Food & drink"
>
<img class="icon " alt="" aria-hidden="true" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Femojicategoryfooddrink" />
</button>
<button
class="btn btn-outline-secondary icon-no-margin category-button"
data-action="show-category"
data-category="Travel & Places"
title="Travel & places"
>
<img class="icon " alt="" aria-hidden="true" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Femojicategorytravelplaces" />
</button>
<button
class="btn btn-outline-secondary icon-no-margin category-button"
data-action="show-category"
data-category="Activities"
title="Activities"
>
<img class="icon " alt="" aria-hidden="true" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Femojicategoryactivities" />
</button>
<button
class="btn btn-outline-secondary icon-no-margin category-button"
data-action="show-category"
data-category="Objects"
title="Objects"
>
<img class="icon " alt="" aria-hidden="true" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Femojicategoryobjects" />
</button>
<button
class="btn btn-outline-secondary icon-no-margin category-button"
data-action="show-category"
data-category="Symbols"
title="Symbols"
>
<img class="icon " alt="" aria-hidden="true" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Femojicategorysymbols" />
</button>
<button
class="btn btn-outline-secondary icon-no-margin category-button"
data-action="show-category"
data-category="Flags"
title="Flags"
>
<img class="icon " alt="" aria-hidden="true" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Femojicategoryflags" />
</button>
</div>
<div class="card-body p-2 d-flex flex-column overflow-hidden">
<div class="input-group mb-1 flex-shrink-0">
<div class="input-group-prepend">
<span class="input-group-text pr-0 bg-white text-muted">
<img class="icon " alt="" aria-hidden="true" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Fsearch" />
</span>
</div>
<input
type="text"
class="form-control border-left-0"
placeholder="Search"
aria-label="Search"
data-region="search-input"
>
</div>
<div class="flex-grow-1 overflow-auto emojis-container h-100" data-region="emojis-container">
<div class="position-relative" data-region="row-container"></div>
</div>
<div class="flex-grow-1 overflow-auto search-results-container h-100 hidden" data-region="search-results-container">
<div class="position-relative" data-region="row-container"></div>
</div>
</div>
<div
class="card-footer d-flex flex-shrink-0"
data-region="footer"
>
<div class="emoji-preview" data-region="emoji-preview"></div>
<div data-region="emoji-short-name" class="emoji-short-name text-muted text-wrap ml-2"></div>
</div>
</div>
</div>
<button
class="btn btn-link btn-icon icon-size-3 ml-1"
aria-label="Toggle emoji picker"
data-action="toggle-emoji-picker"
>
<img class="icon " alt="" aria-hidden="true" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=e%2Femoticons" />
</button>
<button
class="btn btn-link btn-icon icon-size-3 ml-1 mt-auto"
aria-label="Send message"
data-action="send-message"
>
<span data-region="send-icon-container"><img class="icon " alt="" aria-hidden="true" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Fsendmessage" /></span>
<span class="hidden" data-region="loading-icon-container"><span class="loading-icon icon-no-margin"><img class="icon " alt="Loading" title="Loading" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Floading" /></span>
</span>
</button>
</div>
</div>
</div>
<div class="hidden p-sm-2" data-region="content-messages-footer-edit-mode-container">
<div class="d-flex p-3">
<button
class="btn btn-link btn-icon my-1 icon-size-4 ml-auto"
data-action="delete-selected-messages"
data-toggle="tooltip"
data-placement="top"
title="Delete selected messages"
>
<span data-region="icon-container"><img class="icon " alt="" aria-hidden="true" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Ftrash" /></span>
<span class="hidden" data-region="loading-icon-container"><span class="loading-icon icon-no-margin"><img class="icon " alt="Loading" title="Loading" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Floading" /></span>
</span>
<span class="sr-only">Delete selected messages</span>
</button>
</div>
</div>
<div class="hidden bg-secondary p-sm-3" data-region="content-messages-footer-require-contact-container">
<div class="p-3 bg-white">
<p data-region="title"></p>
<p class="text-muted" data-region="text"></p>
<button type="button" class="btn btn-primary btn-block" data-action="request-add-contact">
<span data-region="dialogue-button-text">Send contact request</span>
<span class="hidden" data-region="loading-icon-container"><span class="loading-icon icon-no-margin"><img class="icon " alt="Loading" title="Loading" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Floading" /></span>
</span>
</button>
</div>
</div>
<div class="hidden bg-secondary p-sm-3" data-region="content-messages-footer-require-unblock-container">
<div class="p-3 bg-white">
<p class="text-muted" data-region="text">You have blocked this user.</p>
<button type="button" class="btn btn-primary btn-block" data-action="request-unblock">
<span data-region="dialogue-button-text">Unblock user</span>
<span class="hidden" data-region="loading-icon-container"><span class="loading-icon icon-no-margin"><img class="icon " alt="Loading" title="Loading" src="https://elok.ugm.ac.id/theme/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Floading" /></span>
</span>
</button>
</div>
</div>
<div class="hidden bg-secondary p-sm-3" data-region="content-messages-footer-unable-to-message">
<div class="p-3 bg-white">
<p class="text-muted" data-region="text">You are unable to message this user</p>
</div>
</div>
<div class="p-sm-2" data-region="placeholder-container">
<div class="d-flex">
<div class="bg-pulse-grey w-100" style="height: 80px"></div>
<div class="mx-2 mb-2 align-self-end bg-pulse-grey" style="height: 20px; width: 20px"></div>
</div> </div>
<div
class="hidden position-absolute"
data-region="confirm-dialogue-container"
style="top: -1px; bottom: 0; right: 0; left: 0; background: rgba(0,0,0,0.3);"
></div>
</div> <div data-region="view-overview" class="text-center">
<a href="https://elok.ugm.ac.id/message/index.php">
See all
</a>
</div>
</div>
</div>
</div> <footer id="page-footer" class="container-fluid">
<div class="row-fluid">
<aside id="block-region-footer-left" class="span4 block-region" data-blockregion="footer-left" data-droptarget="1"></aside><aside id="block-region-footer-middle" class="span4 block-region" data-blockregion="footer-middle" data-droptarget="1"></aside><aside id="block-region-footer-right" class="span4 block-region" data-blockregion="footer-right" data-droptarget="1"></aside> </div>
<div class="footerlinks">
<div class="row-fluid">
<p class="helplink"></p>
<div class="footnote span12"><p>© 2018-2021 <a href="http://elok.ugm.ac.id/">Universitas Gadjah Mada</a></p></div>
</div>
</div>
</footer>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-120364919-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-120364919-1');
</script>
<script>
//<![CDATA[
var require = {
baseUrl : 'https://elok.ugm.ac.id/lib/requirejs.php?file=%2F1627708941%2F',
// We only support AMD modules with an explicit define() statement.
enforceDefine: true,
skipDataMain: true,
waitSeconds : 0,
paths: {
jquery: 'https://elok.ugm.ac.id/lib/javascript.php?file=%2F1627708941%2Flib/jquery/jquery-3.4.1.min.js',
jqueryui: 'https://elok.ugm.ac.id/lib/javascript.php?file=%2F1627708941%2Flib/jquery/ui-1.12.1/jquery-ui.min.js',
jqueryprivate: 'https://elok.ugm.ac.id/lib/javascript.php?file=%2F1627708941%2Flib/requirejs/jquery-private.js'
},
// Custom jquery config map.
map: {
// '*' means all modules will get 'jqueryprivate'
// for their 'jquery' dependency.
'*': { jquery: 'jqueryprivate' },
// Stub module for 'process'. This is a workaround for a bug in MathJax (see MDL-60458).
'*': { process: 'core/first' },
// 'jquery-private' wants the real jQuery module
// though. If this line was not here, there would
// be an unresolvable cyclic dependency.
jqueryprivate: { jquery: 'jquery' }
}
};
//]]>
</script>
<script src="https://elok.ugm.ac.id/lib/javascript.php?rev=1627708941&amp;jsfile=%2Flib%2Frequirejs%2Frequire.min.js"></script>
<script>
//<![CDATA[
M.util.js_pending("core/first");require(['core/first'], function() {
require(['core/prefetch']);
;
require(['jquery', 'message_popup/notification_popover_controller'], function($, controller) {
var container = $('#nav-notification-popover-container');
var controller = new controller(container);
controller.registerEventListeners();
controller.registerListNavigationEventListeners();
});
;
require(
[
'jquery',
'core_message/message_popover'
],
function(
$,
Popover
) {
var toggle = $('#message-drawer-toggle-61647706188ae616477060aa3b5');
Popover.init(toggle);
});
;
require(
[
'jquery',
'core_message/message_drawer',
'core_message/message_popover'
],
function(
$,
MessageDrawer,
Popover
) {
var root = $('#message-drawer-6164770634dad616477060aa3b14');
MessageDrawer.init(root);
var toggle = $('#message-drawer-close-6164770634dad616477060aa3b14');
Popover.init(toggle);
});
;
M.util.js_pending('qtype_multichoice/answers'); require(['qtype_multichoice/answers'], function(amd) {amd.init("question-1276349-1"); M.util.js_complete('qtype_multichoice/answers');});;
M.util.js_pending('qtype_multichoice/answers'); require(['qtype_multichoice/answers'], function(amd) {amd.init("question-1276349-2"); M.util.js_complete('qtype_multichoice/answers');});;
M.util.js_pending('qtype_multichoice/answers'); require(['qtype_multichoice/answers'], function(amd) {amd.init("question-1276349-3"); M.util.js_complete('qtype_multichoice/answers');});;
M.util.js_pending('qtype_multichoice/answers'); require(['qtype_multichoice/answers'], function(amd) {amd.init("question-1276349-4"); M.util.js_complete('qtype_multichoice/answers');});;
M.util.js_pending('qtype_multichoice/answers'); require(['qtype_multichoice/answers'], function(amd) {amd.init("question-1276349-5"); M.util.js_complete('qtype_multichoice/answers');});;
M.util.js_pending('qtype_multichoice/answers'); require(['qtype_multichoice/answers'], function(amd) {amd.init("question-1276349-6"); M.util.js_complete('qtype_multichoice/answers');});;
M.util.js_pending('qtype_multichoice/answers'); require(['qtype_multichoice/answers'], function(amd) {amd.init("question-1276349-7"); M.util.js_complete('qtype_multichoice/answers');});;
M.util.js_pending('qtype_multichoice/answers'); require(['qtype_multichoice/answers'], function(amd) {amd.init("question-1276349-8"); M.util.js_complete('qtype_multichoice/answers');});;
M.util.js_pending('qtype_multichoice/answers'); require(['qtype_multichoice/answers'], function(amd) {amd.init("question-1276349-9"); M.util.js_complete('qtype_multichoice/answers');});;
M.util.js_pending('core/log'); require(['core/log'], function(amd) {amd.setConfig({"level":"warn"}); M.util.js_complete('core/log');});;
M.util.js_pending('core/page_global'); require(['core/page_global'], function(amd) {amd.init(); M.util.js_complete('core/page_global');});M.util.js_complete("core/first");
});
//]]>
</script>
<script>
//<![CDATA[
M.yui.add_module({"core_question_engine":{"name":"core_question_engine","fullpath":"https:\/\/elok.ugm.ac.id\/lib\/javascript.php?rev=1627708941&jsfile=%2Fquestion%2Fqengine.js","requires":["node","event"]},"mod_quiz":{"name":"mod_quiz","fullpath":"https:\/\/elok.ugm.ac.id\/lib\/javascript.php?rev=1627708941&jsfile=%2Fmod%2Fquiz%2Fmodule.js","requires":["base","dom","event-delegate","event-key","core_question_engine","moodle-core-formchangechecker"]}});
//]]>
</script>
<script src="https://elok.ugm.ac.id/theme/javascript.php?theme=lambda&amp;rev=1627708941&amp;type=footer"></script>
<script>
//<![CDATA[
M.str = {"moodle":{"lastmodified":"Last modified","name":"Name","error":"Error","info":"Information","yes":"Yes","no":"No","cancel":"Cancel","changesmadereallygoaway":"You have made changes. Are you sure you want to navigate away and lose your changes?","morehelp":"More help","loadinghelp":"Loading...","confirm":"Confirm","areyousure":"Are you sure?","closebuttontitle":"Close","unknownerror":"Unknown error","file":"File","url":"URL"},"repository":{"type":"Type","size":"Size","invalidjson":"Invalid JSON string","nofilesattached":"No files attached","filepicker":"File picker","logout":"Logout","nofilesavailable":"No files available","norepositoriesavailable":"Sorry, none of your current repositories can return files in the required format.","fileexistsdialogheader":"File exists","fileexistsdialog_editor":"A file with that name has already been attached to the text you are editing.","fileexistsdialog_filemanager":"A file with that name has already been attached","renameto":"Rename to \"{$a}\"","referencesexist":"There are {$a} alias\/shortcut files that use this file as their source","select":"Select"},"admin":{"confirmdeletecomments":"You are about to delete comments, are you sure?","confirmation":"Confirmation"},"question":{"flagged":"Flagged"},"quiz":{"functiondisabledbysecuremode":"That functionality is currently disabled","startattempt":"Start attempt","timesup":"Time is up!"},"debug":{"debuginfo":"Debug info","line":"Line","stacktrace":"Stack trace"},"langconfig":{"labelsep":": "}};
//]]>
</script>
<script>
//<![CDATA[
(function() {Y.use("moodle-filter_mathjaxloader-loader",function() {M.filter_mathjaxloader.configure({"mathjaxconfig":"\nMathJax.Hub.Config({\n config: [\"Accessible.js\", \"Safe.js\"],\n errorSettings: { message: [\"!\"] },\n skipStartupTypeset: true,\n messageStyle: \"none\"\n});\n","lang":"en"});
});
M.util.js_pending('random616477060aa3b1'); Y.use('core_question_flags', function(Y) { M.core_question_flags.init(Y, "https:\/\/elok.ugm.ac.id\/question\/toggleflag.php", [{"src":"https:\/\/elok.ugm.ac.id\/theme\/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Funflagged","title":"Flag this question for future reference","alt":"Not flagged"},{"src":"https:\/\/elok.ugm.ac.id\/theme\/image.php?theme=lambda&amp;component=core&amp;rev=1627708941&amp;image=i%2Fflagged","title":"Remove flag","alt":"Flagged"}], ["Flag question","Remove flag"]); M.util.js_complete('random616477060aa3b1'); });
M.util.js_pending('random616477060aa3b2'); Y.use('mod_quiz', function(Y) { M.mod_quiz.nav.init(Y); M.util.js_complete('random616477060aa3b2'); });
M.util.help_popups.setup(Y);
Y.use("moodle-core-popuphelp",function() {M.core.init_popuphelp();
});
M.util.js_pending('random616477060aa3b15'); Y.use('mod_quiz', function(Y) { M.mod_quiz.init_review_form(Y); M.util.js_complete('random616477060aa3b15'); });
M.util.js_pending('random616477060aa3b16'); Y.on('domready', function() { M.util.js_complete("init"); M.util.js_complete('random616477060aa3b16'); });
})();
//]]>
</script>
</div>
</div> <!-- .elok-version -->
<!--[if lte IE 9]>
<script src="https://elok.ugm.ac.id/theme/lambda/javascript/ie/iefix.js"></script>
<![endif]-->
<script>
$(window).on('load resize', function () {
if (window.matchMedia('(min-width: 980px)').matches) {
$('.navbar .dropdown').hover(function() {
$(this).find('.dropdown-menu').first().stop(true, true).delay(250).slideDown();
}, function() {
$(this).find('.dropdown-menu').first().stop(true, true).delay(100).slideUp();
});
} else {$('.dropdown-menu').removeAttr("style"); $('.navbar .dropdown').unbind('mouseenter mouseleave');}
});
jQuery(document).ready(function() {
var offset = 220;
var duration = 500;
jQuery(window).scroll(function() {
if (jQuery(this).scrollTop() > offset) {
jQuery('.back-to-top').fadeIn(duration);
} else {
jQuery('.back-to-top').fadeOut(duration);
}
});
jQuery('.back-to-top').click(function(event) {
event.preventDefault();
jQuery('html, body').animate({scrollTop: 0}, duration);
return false;
})
});
</script>
</body>
</html>
#include <iostream>
using namespace std;
struct Date {
int day;
int month;
bool isValid() {
if (day > 31 || month > 12 || day < 1 || month < 1 ||
month == 2 && day > 29)
return false;
return true;
};
int flatten() { return month * 100 + day; };
};
struct Zodiac {
string name;
Date start;
Date end;
};
Zodiac zodiacData[] = {
{"Aries", 21, 3, 19, 4}, {"Taurus", 20, 4, 20, 5},
{"Gemini", 21, 5, 20, 6}, {"Cancer", 21, 6, 22, 7},
{"Leo", 23, 7, 22, 8}, {"Virgo", 23, 8, 22, 9},
{"Libra", 23, 9, 22, 10}, {"Scorpio", 23, 10, 21, 11},
{"Sagittarius", 22, 11, 21, 12}, {"Capricorn", 22, 12, 19, 1},
{"Aquarius", 20, 1, 18, 2}, {"Pisces", 19, 2, 20, 3}};
Zodiac *determineZodiac(Date);
int main() {
Date birthDate;
cout << "Enter birth day (1-31): ";
cin >> birthDate.day;
cout << "Enter birth month (1-12): ";
cin >> birthDate.month;
if (!birthDate.isValid()) {
cout << "Invalid birth date. Exiting." << endl;
return 1;
}
Zodiac *z = determineZodiac(birthDate);
cout << "Your zodiac is " << z->name << endl;
return 0;
}
Zodiac *determineZodiac(Date birthDate) {
for (int i = 0; i < 12; i++) {
Zodiac *z = &zodiacData[i];
int b = birthDate.flatten();
int s = z->start.flatten();
int e = z->end.flatten();
if (s <= b && b <= e)
return z;
}
return 0;
}
#include <iostream>
using namespace std;
struct Student {
int ID;
float midtermScore;
float finalScore;
float averageScore() { return (midtermScore + finalScore) / 2.0f; };
};
int main() {
int sz;
cout << "Enter the number of students: ";
cin >> sz;
if (sz <= 0 || sz > 50) {
cout << "I wish I could." << endl;
return 1;
}
Student students[sz];
cout << endl;
for (int i = 0; i < sz; i++) {
cout << "Enter student ID: ";
cin >> students[i].ID;
cout << "Enter midterm exam score: ";
cin >> students[i].midtermScore;
cout << "Enter final exam score: ";
cin >> students[i].finalScore;
cout << endl;
}
for (int i = 0; i < sz; i++) {
cout << "Student ID: " << students[i].ID << endl;
cout << "Average: " << students[i].averageScore() << endl;
cout << endl;
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment