Syntax directed editors (SDE) have been built to support popular languages or subsets of those languages. Typically, these im- plementations require large amounts of computing resources. This work describes the design...
详细信息
Syntax directed editors (SDE) have been built to support popular languages or subsets of those languages. Typically, these im- plementations require large amounts of computing resources. This work describes the design and implemtnat ion of a SDE which re- quires less than 58 thousand bytes of main memory and supports the full cprogramminglanguage. Several extant SDE models are examined in an effort to define a basic set of SDE facilities. Design principles are combined with machine con- straints to produce a plan for the implementation of these facilities. A sample session with the resulting editor is provided The syntactic irregularities of the cprogramminglanguage are examined. A discussion showing how language irregularities can hamper the implementation of a SDE follows. A grammatical definition of the clanguage is included.
Tato práce se zabývá návrhem konceptu platformy pro bezdotykové snímání otisku prstu a jeho realizací. Dále je popsán návrh, implementace a testován...
详细信息
Tato práce se zabývá návrhem konceptu platformy pro bezdotykové snímání otisku prstu a jeho realizací. Dále je popsán návrh, implementace a testování hardware implementovaného ve VHDL a programu implementovaného v c. Výstup práce lze použít jako základ při vývoji průmyslově použitelného řešení.
Tato bakalářská práce je věnována laboratorním úlohám pro mikrokontroléry Mc9S08LH firmy Freescale. V úvodní části pojednává o periferiích mikroko...
详细信息
Tato bakalářská práce je věnována laboratorním úlohám pro mikrokontroléry Mc9S08LH firmy Freescale. V úvodní části pojednává o periferiích mikrokontroléru a vývojové desce TWR-S08LH, která je osazena tímto mikrokontrolérem. Druhá část je věnována vytvoření sady laboratorních úloh, demonstrujících využití periferií mikrokontroléru a vytvoření vzorových programů v jazyce c pro tyto úlohy.
Block-c is a block-based programming learning tool for cprogramminglanguage that uses the recognition over recall approach on top of the rigid and complex constructs of clanguage. It empowers students to learn prog...
详细信息
ISBN:
(纸本)9781509054671
Block-c is a block-based programming learning tool for cprogramminglanguage that uses the recognition over recall approach on top of the rigid and complex constructs of clanguage. It empowers students to learn programming by guiding them to focus on the programming logic rather than the syntax of clanguage. Novice programmers in introductory programmingcourses are more productive with the use of Block-c than with regular textual cprogramming. They can internalize the programmingconcepts more easily by gradually assigning meaning to the visual models (pertaining to the programming logic) created using the tool. In lab or tutorial sessions, where the presence of facilitators is limited, Block-ccan guide the students to complete their assignments easily and effectively. Finally, Block-c promotes the transition to the regular textual cprogramming by allowing the students to export their code and see how their block-based programs are translated to textual c, but also how textual c is translated to block-based c.
Tato bakalářská práce se zabývá vzdáleným sběrem dat pomocí GSM modemů s podporou platformy Open AT. Výsledkem práce je realizovaný modul, který slouží...
详细信息
Tato bakalářská práce se zabývá vzdáleným sběrem dat pomocí GSM modemů s podporou platformy Open AT. Výsledkem práce je realizovaný modul, který slouží jako převodník teploty na kmitočet. Tento modul je propojen s programovatelným GSM/GPRS modemem Wavecom Fastrack M1306B a společně jsou určeny k měření teploty od 0 do 40 °c. S podporou platformy Open AT a programovacího jazyka c byly vytvořeny dvě aplikace. První aplikace naměřenou teplotu společně s datem a časem měření posílá na vzdálený FTP server přes GPRS prostřednictvím GSM sítě. Výsledky měření jsou zobrazovány na webové stránce ve formě tabulky a grafu. Druhá aplikace slouží k posílání naměřené teploty ve formě SMS zprávy jako odpověď na zprávu příchozí.
This paper deals with the problem of overcoming difficulties and raising the motivation of novice engineering students studying programming. We consider this an important factor for engineering education in general an...
详细信息
This paper deals with the problem of overcoming difficulties and raising the motivation of novice engineering students studying programming. We consider this an important factor for engineering education in general and for programming of embedded devices, as well as for calculations and modeling in the field of scientificcomputing in particular. We present a case study on how novice engineering students can be motivated to study structured programming and coding in c using game programming in the App Inventor environment. The study is based on the authors' practical teaching experience in the Applied Sciences University for novice programmers, with students of the Technology of Smart Devices specialty, as well as the authors' long-time research activities in teaching computer Science.
Graph theory plays many important roles in modern physics and in many different contexts, spanning diverse topics such as the description of scale-free networks and the structure of the universe as a complex directed ...
详细信息
Graph theory plays many important roles in modern physics and in many different contexts, spanning diverse topics such as the description of scale-free networks and the structure of the universe as a complex directed graph in causal set theory. Graph theory is also ideally suited to describe many concepts in computer science. Therefore it is increasingly important for physics students to master the basicconcepts of graph theory. Here we describe a student project where we develop a computational approach to electriccircuit solving which is based on graph theoreticconcepts. This highly multidisciplinary approach combines abstract mathematics, linear algebra, the physics of circuits, and computer programming to reach the ambitious goal of implementing automated circuit solving.
The Big code and Mining Software Repositories research lines analyze large amounts of source code to improve software engineering practices. Massive codebases are used to train machine learning models aimed at improvi...
详细信息
The Big code and Mining Software Repositories research lines analyze large amounts of source code to improve software engineering practices. Massive codebases are used to train machine learning models aimed at improving the software development process. One example is decompilation, where ccode and its compiled binaries can be used to train machine learning models to improve decompilation. However, obtaining massive codebases of portable ccode is not an easy task, since most applications use particular libraries, operating systems, or language extensions. In this paper, we present cnerator, a Python application that provides the stochastic generation of large amounts of standard ccode. It is highly configurable, allowing the user to specify the probability distributions of each languageconstruct, properties of the generated code, and post-processing modifications of the output programs. cnerator has been successfully used to generate code that, utilized to train machine learning models, has improved the performance of existing decompilers. It has also been used in the implementation of an infrastructure for the automatic extraction of code patterns. (c) 2021 The Author(s). Published by Elsevier B.V.
This paper describes the use of an astronomical algorithm for two degrees of freedom of solar tracking mechanism with the result that the expected solar thermal collector panels always leads to the sun and solar energ...
详细信息
This paper describes the use of an astronomical algorithm for two degrees of freedom of solar tracking mechanism with the result that the expected solar thermal collector panels always leads to the sun and solar energy is absorbed optimally. The movement triggers of the sun tracking mechanism is an astronomical algorithm that generates the azimuth and altitude values based on latitude, longitude, and time. This system does not use any sensor so that is more economical and can be applied anywhere. Simulations have been made using the cprogramminglanguage with Dev-c + + IDE to test the accuracy of the azimuth and elevation values generated by astronomical algorithm used, and compared with the value produced by the U.S. Naval Observatory and Geoscience Australia. The location used is LIPI Bandung with latitude 107̊36′E and longitude 6̊52′S at every hour from 06:00 to 18:00 on the first date of each month of 2013. Simulation results show that the value of the azimuth and elevation resulting approached two other reference values with maximum azimuth difference 0.51 degrees and the maximum altitude difference 0.49 degrees to data the U.S. Naval Observatory, and the maximum azimuth difference 0.52 degrees and the maximum altitude difference 0.50 degrees to the data Australia Geoscience. Based on this research, it is known that the azimuth and elevation values was generated by these algorithms can be applied to two degrees of freedom of solar tracking mechanism because its accuracy is close to two other reference values.
The clanguage does not have a specific Boolean type: Boolean values are encoded with integers. This is also true for enumerated types, that may be freely and silently cast to and from integers. On the other hand, ver...
详细信息
The clanguage does not have a specific Boolean type: Boolean values are encoded with integers. This is also true for enumerated types, that may be freely and silently cast to and from integers. On the other hand, verification tools aiming at inferring the possible values of variables at each program point may benefit from the information that some (integer) variables are used solely as Boolean or enumerated type variables, or more generally as finite type variables with a small domain. Indeed, specialized and efficient symbolic representations such as BDDs may be used for representing properties on such variables, whereas approximated representations like intervals and octagons are better suited to larger domain integers and floating-points variables. Driven by this motivation, this paper proposes a static analysis for inferring more precise types for the variables of a c program, corresponding to their effective use. The analysis addresses a subset of the c99 language, including pointers, structures and dynamic allocation.
暂无评论