.. This file is part of the OpenDSA eTextbook project. See
.. http://opendsa.org for more details.
.. Copyright (c) 2012-2024 by the OpenDSA Project Contributors, and
.. distributed under an MIT open source license.

.. avmetadata::
   :author: Cliff Shaffer, Adeyemi Aina and Alex Hicks
   :requires: 
   :satisfies: 
   :topic: Data Structures

SPLICE iframe Protocol Demonstration
====================================

The SPLICE iframe Protocol makes it easy for eTextbooks to include
exercises from third-party providers.
On this page, we see exercises that come from several different
sources.
For more information, see:
https://cssplice.org/slcp/index.html.

OpenDSA Exercises
-----------------

**Insert Practice Exercise**

.. avembed:: Exercises/List/AlistInsertPRO.html ka
   :long_name: Array-based List Insert Exercise
   :keyword: Array-based List

**Binary Search Proficiency Exercise**

This exercise tests your understanding of **binary search** and how it optimally finds an element in a sorted array.

.. avembed:: AV/Searching/binarySearchPRO.html pe
   :long_name: Binary Search Proficiency Exercise
   :keyword: Search; Binary Search


**Dijkstra's Algorithm Proficiency Exercise**

This exercise reinforces understanding of **Dijkstra's shortest path algorithm**.

.. avembed:: AV/Graph/DijkstraPE.html pe
   :long_name: Dijkstra's Algorithm Proficiency Exercise
   :keyword: Graphs; Shortest-Paths Problems; Dijkstra's Algorithm



CodeCheck Exercises
-------------------

An example of a coding exercise in CodeCheck
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. splicetoolembed:: https://codecheck.io/files/horstmann/codecheck-python-2DArraysNoLoops-8
   :height: 300
   :width: 1050
   :name: codecheck-2DArraysNoLoops-8


An example of a proficiency exercise in CodeCheck
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~          

.. splicetoolembed:: https://horstmann.com/codecheck/examples/dijkstra.html
   :height: 1050
   :width: 1050
   :name: codecheck-dijkstra.html


Acos Server Exercise
--------------------

A Parsons problem implementation.

.. splicetoolembed:: https://acos.cs.vt.edu/html/combo/combo-python/combo_avg
   :height: 500
   :width: 1050
   :name: acos-combo_avg

A PCEX activity example.

.. iframe:: https://acos.cs.vt.edu/html/acos-pcex/acos-pcex-examples/arithmetic_bmi_calculator__664e4db591363872f0ba3841
   :height: 700
   :width: 1050
   :name: acos-pcex-arithmetic_bmi_calculator


Codeworkout Exercise
--------------------

A programming practice exercise from Code Workout.

.. splicetoolembed:: https://codeworkoutdev.cs.vt.edu/gym/exercises/394/practice
   :name: codeworkout-LinkedListInsertion



