期刊文献+
共找到4篇文章
< 1 >
每页显示 20 50 100
AI Chain-Driven Control Flow Graph Generation for Multiple Programming Language
1
作者 ZOU Zhou ZUO Zhengkang HUANG Qing 《Wuhan University Journal of Natural Sciences》 2025年第3期222-230,共9页
Control Flow Graphs(CFGs)are essential for understanding the execution and data flow within software,serving as foundational structures in program analysis.Traditional CFG construction methods,such as bytecode analysi... Control Flow Graphs(CFGs)are essential for understanding the execution and data flow within software,serving as foundational structures in program analysis.Traditional CFG construction methods,such as bytecode analysis and Abstract Syntax Trees(ASTs),often face challenges due to the complex syntax of programming languages like Java and Python.This paper introduces a novel approach that leverages Large Language Models(LLMs)to generate CFGs through a methodical Chain of Thought(CoT)process.By employing CoT,the proposed approach systematically interprets code semantics directly from natural language,enhancing the adaptability across various programming languages and simplifying the CFG construction process.By implementing a modular AI chain strategy that adheres to the single responsibility principle,our approach breaks down CFG generation into distinct,manageable steps handled by separate AI and non-AI units,which can significantly improve the precision and coverage of CFG nodes and edges.The experiments with 245 Java and 281 Python code snippets from Stack Overflow demonstrate that our method achieves efficient performance on different programming languages and exhibits strong robustness. 展开更多
关键词 Control Flow Graph Large Language Model Chain of Thought AI chain
原文传递
Comparing children's Homo sapiens and chimpanzees' Pan troglodytes quantity judgments of sequentially presented sets of items
2
作者 Michael J. BERAN Julie S. JOHNSON-PYNN Christopher READY 《Current Zoology》 SCIE CAS CSCD 北大核心 2011年第4期419-420,421-428,共10页
We presented a quantity judgment task that involved comparing two sequentially presented sets of items to preschoolers and chimpanzees using nearly identical procedures that excluded verbal instructions to children. T... We presented a quantity judgment task that involved comparing two sequentially presented sets of items to preschoolers and chimpanzees using nearly identical procedures that excluded verbal instructions to children. Trial difficulty in this task reflected the ratio difference between sets of discrete items where larger ratios (e.g., 0.80 as from comparing 4 to 5) were more difficult than smaller ones (e.g., 0.50 as from comparing 4 to 8). Children also completed verbal-based tasks probing the relationskip between counting proficiency and performance on the quantity judgment task of sequentially presented identical sized items. Both species' performance was best when ratios between comparison sets were small regardless of set size in all types of tasks. Generally, chimpanzees and older children performed better than younger children except at larger ratios. Children's counting proficiency was not related to success in choosing the larger of two quantities of identical-sized items. These results indicate that chimpanzees and children share an approximate number sense that is reflected through analog magnitude estimation when comparing quantities [Current Zoology 57 (4): 419-428, 2011]. 展开更多
关键词 Numerical cognition Quantity judgments CHILDREN CHIMPANZEES Pan troglodytes
原文传递
A Suggestion for Teaching the Construction of"X What(Y)+All+Z"in the Process of TCSL
3
作者 Siyun Li 《Journal of Contemporary Educational Research》 2020年第6期45-48,共4页
The construction of“X What(Y)+All+Z”generally appears in speaking and listening TCSL textbooks and some reading materials.In most cases,it is not listed in those textbooks as a key expression and more likely to be s... The construction of“X What(Y)+All+Z”generally appears in speaking and listening TCSL textbooks and some reading materials.In most cases,it is not listed in those textbooks as a key expression and more likely to be shown together with other similar constructions.However,foreign students tend to make mistakes when using it.This paper designs a teaching plan of the construction by using the“constructionchunk”teaching method,and puts forward some suggestions for teaching from the aspects of teaching materials,teachers and students. 展开更多
关键词 The construction of“X What(Y)+All+Z” Teaching material “construction-chunk”teaching method Suggestions for teaching
在线阅读 下载PDF
Analysis on the Error Types and the Causes of the Construction of"X什么(Y)+都+Z"
4
作者 Siyun Li 《Journal of Contemporary Educational Research》 2021年第8期118-123,共6页
Using intermediate and advanced Chinese students as the research subjects,HSK corpus and questionnaire surveys were used to explore the error types in the construction of"X什么(Y)+都+Z."The types of errors c... Using intermediate and advanced Chinese students as the research subjects,HSK corpus and questionnaire surveys were used to explore the error types in the construction of"X什么(Y)+都+Z."The types of errors can be divided into component errors,relationship errors between components,and collocation errors between components and sentences.The main reasons for the errors are the particularity of the construction,the immature development of construction teaching,the negative transfer of students5 mother tongue,as well as the generalization and avoidance of the target language. 展开更多
关键词 X什么(Y)+都+Z Error type Teaching Chinese as a foreign language
在线阅读 下载PDF
上一页 1 下一页 到第
使用帮助 返回顶部